Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS to style "jump to" links differently than other links? Re: CSS to style “jump to” links differently than other links?

#60085
TheDoc
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.