Previous Message
Next Message

[css-d] IE 5 ignores link hover instructions

Sent by iris on 17 January 2003 17:05


what am i doing wrong?  it works in moz and opera but
IE 5 (nope, haven't got 6 on my machine - would
appreciate word from an IE 6 user) ignores my
instructions for link hover presentation for the main
contents (#main).  here's the relevant bit from my
stylesheet:

a	{text-decoration : none;}
a:link  {color : #00f;}
a:visited {color : #900;}
a:hover	{background : #fff; 
       text-decoration : underline overline;}
a:active {color : #900;}
a.name	{
	color : #000; 
	background: transparent;
	text-decoration : none;
	}

#main a	{text-decoration : underline;}
#main a:link  {color : #00f;}
#main a:visited {color : #900;}
#main a:hover	{text-decoration : underline;}
#main a:active {color : #900;}
#main a.name	{
	color : #000; 
	background: transparent;
	text-decoration : none;
	}

testpage is here: http://www.cch-uk.org/test/

basically i want simple underlined links in the main
text without hover effect.  but IE 5 shows the hover
effect from the other set of instructions.

btw, if i set it to 'none' it displays it correctly
#main a:hover	{text-decoration : none;}

if IE 6 does it right, i might just ignore it. still,
there might be something fundamentally wrong with my
approach.

thanks
iris



=====
_____________________
omnia mea mecum porto

<http://www.jarmin.com/>
<http://www.demos.ac.uk/>
_______________________________

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
Previous Message
Next Message

Message thread: