Hi,
In my experience, and from advice on this list, I have typically found
that, with complicated designs where you have several types of link design
designs (background images and colors, borders, etc), including
navigational links with complex dropdown hierarchies, that your best bet is
to define all the properties of the link pseudo class -- in order to get it
to work correctly with IE 6. Thus, for every section in my stylesheet where
I style the link, I use a:link, a:visited, a:hover, a:active if I want
those links to behave differently in each case. Even if my a:link and
a:visited are the same, I define them. And, I define them in that order,
the old LoVe HA mnemonic.
I'm doing research on a problem we're having with links showing up in
different font sizes. The CSS someone else wrote for the links relies
either on the font size defined in the selector or on the font-size defined
by a. E.g., selector a {font-size: 12px;}.
From my experience, the erratic font size, happening in IE 6 only, is
because the links for each selector haven't been defined as above. The
visited links are displaying in smaller font size, inheriting the font size
of the selector containing them. Sometimes this goes away, only to reappear
five minutes later. I haven't had time to fully experiment with the
behavior and nail it down.
I've found the typical resources on the problem with IE and some places
where the LoVeHA mnemonic is mentioned. (list of links below). Are there
any other good resources for documenting this in the company WIKI?
Of course, on that note, I could be all washed up, so please correct me if
I'm wrong about the above. Most of the material I've found is dated (in
Internet time).
Also, I did a search on the list archives and the wiki but struck out or
got so many false positives that I gave up.
thanks for your help.
Links:
http://www.w3.org/TR/REC-CSS2/selector.html#dynamic-pseudo-classes
http://antone.geckotribe.com/alpha-gecko/2005/01/12/how-to-avoid-using-classes-in-too-many-places/
http://class.thefactoryfactory.com/docs/interm_css_selectors.html
http://www.ericmeyeroncss.com/bonus/proj04-excerpt.html
http://locusoptimus.com/css-trickery/ie7-hover-bug.php
http://css-discuss.incutio.com/?page=IE7
http://carpe.ambiprospect.com/buttons/links.htm
Kelley
(who apologizes for odd typos. It's early and I'm typing in a hotel room
that's dark while my partner sleeps. :)
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/