Text decoration

Jack Michaelson's picture

He has: 1,733 posts

Joined: Dec 1999

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's picture

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's picture

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)

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's picture

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.