Jump to content

To Make Rollover In Css/ Underline Txt On Rollover


hansolo
 Share

Recommended Posts

h1{text-decoration:underline; color:red; font-size:"14"; font-family:"Times New Roman Georgia";}help i want to make a rollover in css with the underline to appear when the mouse is over href , i belive this to be ref tag would be used so i can link to new page......

Link to comment
Share on other sites

you would first want to be working with anchor tags, not heading tags. As previously recommended before, most of this stuff can be found here, specifically you would want be looking under the pseudo-class section. Read the whole tutorial first, I wouldn't recommend jumping straight to that section, as it looks like you still need a little help declaring your css to begin with.

h1{text-decoration:underline; color:red; font-size:"14";font-family:"Times New Roman Georgia";}

font-size should be something like font-size: 14px;and I think you would need a comma between your two choices for font, but i checked and it validates anyway so...yeah. anyway, work on the basics, you're almost there.

Edited by thescientist
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...