Text decoration
Hi everyone,
On a link a got rid of the underline by using--> text-dexoration:none; But now I want the underline to appear again when onmouseover. I tried text-decoration:yes/true/1. But (surprise) this doesn't work. Who's gonna help me?
Jack.
Shakespeare: onclick || !(onclick)
merlin posted this at 08:51 — 18th January 2000.
They have: 410 posts
Joined: Oct 1999
there is a possibility with a style-sheet. there's a command a:hover, hover's when your mouse is over the defined area.
but there's a little problem: hover only works with IE, not with N... i don't know, if there's antother way...
Jack Michaelson posted this at 09:06 — 18th January 2000.
He has: 1,733 posts
Joined: Dec 1999
Alibaba,
Thanx for replying so fast.
I know the a:hover and I'm using it already. I think I wasn't specific enough. Sorry!
But the text-decoration:true/yes/1 I tried does not work. Any sugs?
Jack.
Shakespeare: onclick || !(onclick)
RC posted this at 13:35 — 18th January 2000.
They have: 89 posts
Joined: Sep 1999
This will work in IE, but not NS...but aren't you the one developing for only IE anyways? hope so
<style>
<!--
a{text-decoration:none}
a:hover{text-decoration:underline; }
//-->
</style>
<A HREF="apage.html">A Link</A>
Jack Michaelson posted this at 14:51 — 18th January 2000.
He has: 1,733 posts
Joined: Dec 1999
Thanks RC that works.
And yes I'm the one who's developing for IE only.(till februari, after that I got time for other (NS&IE)projects)
Jack.
[This message has been edited by Jack Michaelson (edited 18 January 2000).]
Shakespeare: onclick || !(onclick)
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.