johnnyblotter
01-18-2008, 11:42 PM
Okay, I know the usual way to create an anchor is by using the a element, as in :
<a name="name" href="www.dsfsdf.com">The Anchor</a>
However I want to use an <h2> element as an anchor as it sits in a more convenient place. I'm reading in my CSS book here that you can use id values of elements as anchors. This is working fine in IE6 but doesn't seem to work in Firefox. Anyone run into this before?
thanks
Jon
<a name="name" href="www.dsfsdf.com">The Anchor</a>
However I want to use an <h2> element as an anchor as it sits in a more convenient place. I'm reading in my CSS book here that you can use id values of elements as anchors. This is working fine in IE6 but doesn't seem to work in Firefox. Anyone run into this before?
thanks
Jon