Home › Forums › CSS › CSS to style "jump to" links differently than other links? › Re: CSS to style “jump to” links differently than other links?
July 2, 2009 at 4:14 pm
#60085
Member
No, it would actually be incorrect to put the "id" in like that.
I think you might have the "name" and "href" mixed up.
<a href="#jiggins" class="jumpto">Check out the Jiggins</a> (note how it’s still a ‘href’)
will link to:
<a name="jiggins"></a>This is where your content for the Jiggins section will be. (note how this is ‘name’)
Because you were putting name="#xxxxx" is probably why it wasn’t validating.