Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-01-05 15:44:51

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,615
GitHub Twitter

Tips for the default stylesheets

There is a problem with FireFox when you clic on a link. You’ve got a strange dotted border transparent frame around it.
We can avoid that within the default stylesheets by adding :

a {outline:none;}

Perhaps Core Developers could add this tips inside the default stylesheets?
Cheers.

Last edited by Pat64 (2007-01-06 10:18:38)


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#2 2007-01-05 17:34:47

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: Tips for the default stylesheets

Thanks for this! I was wondering how to get rid of this…


Prrrrrrrr

Offline

#3 2007-01-05 18:19:23

jm
Plugin Author
From: Missoula, MT
Registered: 2005-11-27
Posts: 1,746
Website

Re: Tips for the default stylesheets

Seriously? I never thought it was strange – it’s Firefox’s default behavior.

Offline

#4 2007-01-05 20:27:37

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: Tips for the default stylesheets

I just thought it was annoying. Default behaviour isn’t necessarily good behaviour… (Do I have to name that one browser? ;)


Prrrrrrrr

Offline

#5 2007-01-05 21:09:04

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,324
Website Mastodon

Re: Tips for the default stylesheets

This ain’t annoying, but the only visual clue for people (with motoric disabilities, for instance) who navigate by keyboard (tabbing from link to link) to tell the active link apart from all the other page elements. Removing the “strange transparent frame” on the active link is a measure against accessibility.

Offline

#6 2007-01-05 21:18:18

TNT
Member
From: Rotterdam, Netherlands
Registered: 2006-01-06
Posts: 256
Website

Re: Tips for the default stylesheets

Oh, I didn’t know that. That puts things in perspective.

*fires up TxP to remove a certain line in his stylesheet.*

Prrrrrrrr

Offline

#7 2007-01-05 22:12:09

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Tips for the default stylesheets

Damn… changing 15 stylesheets and changing them back an hour later… Thanks wet ;) (and so we keep learning…)

Offline

#8 2007-01-05 22:34:23

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,324
Website Mastodon

Re: Tips for the default stylesheets

A rule of thumb:

  • if something seems wrong in Firefox, you are too dumb.
  • if something seems wrong in IE6, you are too clever.

Offline

#9 2007-01-06 00:35:24

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Tips for the default stylesheets

wet wrote:

This ain’t annoying, but the only visual clue for people (with motoric disabilities, for instance) who navigate by keyboard (tabbing from link to link) to tell the active link apart from all the other page elements. Removing the “strange transparent frame” on the active link is a measure against accessibility.

wet, I think what you say is ok, but isn’t totally right. It’s not the only visual clue for people with disabilities.
If you remove the outline from links in Firefox, you can add the :focus and :active pseudo classes (for FF, because it supports it).
So, I would go with removing the outline but adding those pseudo-classes, that can be more noticieable than the “strange transparent frame”.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#10 2007-01-06 08:57:14

tranquillo
Archived Plugin Author
Registered: 2005-03-07
Posts: 127
Website

Re: Tips for the default stylesheets

Well, what about the user? If the user is used to a certain behaviour, why change it? To confuse him?

Regarding this frame question, it doesn’t seem to matter, if it’s there or replaced with a:active. As the user already uses firefox instead of IE 7 (@wet – if something seems wrong in IE6: we reached Middle Ages 7 some weeks ago), it proofs of a higher understanding of things.

But others may be already confused by little changes (believe me, I work with “others”). I miss this point of view in such discussions. It’s the same with active links. Although usability rules state not to display the active navigation element as link, most of the navigation functions or plugins do.

Offline

#11 2007-01-06 09:04:29

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,324
Website Mastodon

Re: Tips for the default stylesheets

tranquillo wrote:

@wet – if something seems wrong in IE6: we reached Middle Ages 7 some weeks ago

Sadly, “we” did. But the other 80% of all IE abusers haven’t yet, according to my sites’ stats. Plus, if somethings wrong in IE 7, there’s a good chance that you are too dumb. A new paradigma for web development ;-)

Offline

#12 2007-01-06 19:01:02

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Tips for the default stylesheets

You’ve got a strange dotted border transparent frame around it.

That is not a problem, that is how browsers have worked for a very long time. I consider it ill-advised to simply remove it by default.

Offline

Board footer

Powered by FluxBB