Quote:
Originally Posted by Julanna
No, not highlight when the link itself is hovered over. It the linked *to* text I want the highlight. The 'span id' part. I've got this horrid feeling it's not CSS that does that, it's javascript. I hope not! I'll have to try to hunt up a web page that does it as an example.
And yeah, it won't be relevent to e-ink, but those who read it on things where you could use a mouse or touch screen should find it useful.
|
Well, the pseudo selectors aren't restricted to the <a> tag.
I'm not sure which ones are appropriate, but you might try something like:
Quote:
.hl:visited { background-color: #ff0000; }
<a href="#IsaacWoolley">Woolley, Isaac</a> and <span class="hl" id="IsaacWoolley">Isaac Woolley</span>
|