Taco,


Your initial post stated the issue was:

<quote>to overcome the issue where I have a global style for the a element which is also applied to the a name element.</quote>

At this stage, you're trying fix your fix:

HTML 4.01: "User agents should be able to find anchors created by empty A elements, but some fail to do so."

Some fail to do so, hhmmm, so a &nbsp; would do the trick? Maybe with display: none so it doesn't take up any space??



Take a step back. Two suggestions:


i. Can you apply your styles to "a:link" instead? Thus keeping "a" unstyled.
ii. Are you wrapping your named anchors around headings? You might style the "a", and override with "h2" styles.


hth,

Ben
http://www.daemon.com.au/

*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************




Reply via email to