...

View Full Version : CSS and mouseover underline link effect



jakenoble
02-05-2004, 01:37 AM
Hi

what do i need to put in this CSS code in order for the link to underline when i mouse over. I know i have to change it where it says "HERE" bt what do i change it to, i have tried "over" and "mouseover"

A:HERE { text-decoration: underline;
COLOR: #0066FF;}

JAKE

pardicity3
02-05-2004, 01:43 AM
jake,

Your CSS should be written like so:

a:hover { ... }

If you are trying to apply this to links with the class "here" (I'm not sure if this is why you have your links written as a:here), then you will want your code to be written like so:

a.here:hover

edit: there is more info on psuedo-classes here if you wish: http://www.w3.org/TR/CSS1#pseudo-classes-and-pseudo-elements

jakenoble
02-05-2004, 02:03 AM
Thank you.

I got it,i put HERE in the wont place.

Cheers

JAKE



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum