Thanks guys. Patrick is right. I'd already validated the code and it came up fine.
The reason I've run into this little problem is because, unlike HTML, XHTML seems to require that the <a> tag surrounds some text. Perhaps an would do it? The named anchor is picking up the color of the a:link style. I've currently got your standard style layout as below. I was wondering if simply adding an a {} style with the right color would be appropriate. a:link {} a:visited {} a:hover, a:active {} How are other people preventing this, apart from hiding their anchor tags (which I suppose is a fair enough solution. -----Original Message----- From: Patrick H. Lauke Thierry Koblentz wrote: > "name" is used for old browsers. And I'm pretty sure it validates > against a Strict DTD (HTML or XHTML 1.0). > Please correct me if I'm wrong here... No, you're indeed correct. Up to XHTML 1.0 Strict it's perfectly valid to use the name attribute on anchors. It's only XHTML 1.1 that deprecated it. ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************