W3C home > Mailing lists > Public > www-style@w3.org > January 2002

RE: Behavior of nested Links, pseudos and style

From: Manos Batsis <m.batsis@bsnet.gr>
Date: Thu, 31 Jan 2002 17:17:01 +0200
Message-ID: <E657D8576967CF448D6AF22CB42DD2690FF1EF@ermhs.Athens.BrokerSystems.gr>
To: "Jelks Cabaniss" <jelks@jelks.nu>
Cc: <www-style@w3.org>

Yup, a number of people mailed me about it. 

But

<div href="outer_link">
 outer link, 
 <span href="inner_link">
 inner link
 </span>
</div>

While leaving only this style rule:

:hover{color:red;text-decoration:underline;}

Is not really supported by browsers.

Kindest regards,

Manos






> -----Original Message-----
> From: Jelks Cabaniss [mailto:jelks@jelks.nu] 
> Sent: Thursday, January 31, 2002 4:50 PM
> To: www-style@w3.org
> Subject: RE: Behavior of nested Links, pseudos and style
> 
> 
> Manos Batsis wrote:
> 
> > <style type="text/css">
> > a:link{text-decoration:none;}
> > a:hover{color:red;text-decoration:underline;}   
> > </style>
> > 
> > And
> > 
> > <a href="outer_link">
> >   outer link, 
> >   <a href="inner_link">
> >     inner link
> >   </a>
> > </a>
> > 
> > In both Mozilla5 (Gecko/20011120) and IE6, during mouseover 
> > events on the outer link, only the non inner link changes style.
> > 
> > Is this according to spec?
> 
> The markup isn't valid.  Check it at 
> 
	http://www.htmlhelp.com/tools/validator/

or 

	http://validator.w3.org


/Jelks
Received on Thursday, 31 January 2002 10:14:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:12 GMT