Jump to content

To Make Rollover In Css/ Underline Txt On Rollover


hansolo

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...