Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
Re: Tips for the default stylesheets
Thanks for this! I was wondering how to get rid of this…
…Prrrrrrrr…
Offline
Re: Tips for the default stylesheets
Seriously? I never thought it was strange – it’s Firefox’s default behavior.
Offline
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
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
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
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
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”.
Offline
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
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