Sent by Mike Botsko on 6 April 2006 18:06
IE was ignoring the css because the URL of the link was #, as a place-holder. IE saw this is a
visited, so setting the text-decoration to a:visited fixed the issue.
Michael Botsko
Web Developer
503.227.2571 x230
AIM: botskonet
TechTracker, Inc
www.techtracker.com
-----Original Message-----
From: francky [EMAIL-REMOVED]]
Sent: Wednesday, April 05, 2006 6:31 PM
To: Mike Botsko
Cc: CSS Discuss (E-mail)
Subject: Re: [css-d] IE6 Ignoring text-decoration
Mike Botsko wrote:
>I have some links inside of a table. Two TD cells in this table have their own css class. When:
>
>.cellOne {
> text-decoration: none;
>}
>
>.cellTwo {
> text-decoration: none;
>}
>
>IE6 ignores the text-decoration css for cellTwo. There's not a single other difference between
these two cells, and even if I try apply style="text-decoration: none;" to the a href element
itself, IE ignores it. However, any other css in cellTwo is observed - so IE isn't ignoring the
class, it's ignoring the text-decoration. There is no other definition of the cellTwo class, so
nothing is overriding it. cellOne works fine.
>
>The only other place the text-decoration is defined is the general css for all links, but it
doesn't affect cellOne at all. Any ideas?
>
>IE7 works fine.
>
>
Hi Mike,
Strange - strange- strange! I built your table, but cannot reproduce the
problem. See testpage
<http://home.tiscali.nl/developerscorner/css-discuss/test-textdecoration-IE.htm>.
With IE6 under Win98SE everything is doing fine, as in FF.
Browsershots.com says:
"because of a flash AddOn" (nothing flashy to see in my html!) ... IE6
under XP is crashing
<http://home.tiscali.nl/developerscorner/css-discuss/images/test-underline-IE6-onXP.png>
but seems o.k. for the underlines,
IE7beta under XP is ok
<http://home.tiscali.nl/developerscorner/css-discuss/images/test-underline-IE7b-onXP.png>,
Safari is o.k.
<http://home.tiscali.nl/developerscorner/css-discuss/images/test-underline-Safari.png>
So my conclusion for now is: or something in XP, or a typo, or something
complicating/interfering in the rest of the css or html code?
Do you have a link to a page which shows your phenonenon?
Greetings,
francky
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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/