Hovering Text - Help with Hovering Please (Posted by Hunter)
I saw a page with a text hover over the background. What is the code for this? The view source wasn't much help.
I saw a page with a text hover over the background. What is the code for this? The view source wasn't much help.
IanD posted this at 04:26 — 6th November 1999.
They have: 222 posts
Joined: Sep 1999
It's the Style tag...Heres an example
<HTML>
<Head><Title>Blah</Title></Head>
<Body>
<Style>
A:visited {color: darkblue}
A:link {color: blue}
A:active {color: black}
A:hover {color: gray}
</Style>
Page Content
</Body>
</HTML>
That just changes the color. You can add other attributes, like 'text-decoration: none' to have the link not be underlined. or 'text-decoration: bold' (I think, haven't used it personally, making an educated guess) to make it bold on hover... Oh, BTW, note that the style tag I gave as an example has move than just the hover, but you probably allready noticed that, you just need to pay attention to the hover one...
Hope that helps,
Ian
Fighting for a Lost Cause.net
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.