> From: Paul Noone
> 
> When using XHTML strict named anchors need to surround some link text, yes?
> 
> I'd tinkered with a[name]:hover but I'm loathe to create a style for this.
I
> don't think hiding them is th eoption either.


Actually, when using XHTML Strict, "name" is not a valid attribute for
anchors. You can use the "id" attribute to get the same jump-to-that-
section-of-the-page behaviour, but this will work with *any* element,
not just anchors. Since you don't want the appearance of a link on the
page, I suggest eliminating the anchor altogether and linking to the
id of whatever element is already there in the markup.

--
Martin Lambert
[EMAIL PROTECTED]
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to