Click to See Complete Forum and Search --> : Nesting A tags, valid?


BigMoosie
07-05-2005, 06:56 AM
..

soccer362001
07-05-2005, 08:20 AM
It makes no sense at all, and a:hover works just fine in FF

the tree
07-05-2005, 08:38 AM
Soccer, he was complaining about :hover not working in IE, not about FF.

Big, I see what you're getting at but I'm almost certain that it wouldn't be allowed.

pmusu
07-05-2005, 09:00 AM
I think it is ok as long as:

# Tags must be properly nested
Since XHTML documents are XML applications, overlapping elements are not allowed. An element must have a closing tag before the next element's starting tag.

<b><i>This text is bold and italic</b></i> This is incorrect
<b><i>This text is bold and italic</i></b> This is correct

Jeff Mott
07-05-2005, 09:14 AM
Nope, nesting A elements is not valid. Though, perhaps there is another way of accomplishing what you're trying to do.....

NogDog
07-05-2005, 09:16 AM
http://www.w3.org/TR/html4/struct/links.html#h-12.2.2

BigMoosie
07-05-2005, 10:43 AM
..