Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

making #id 's a.hover ???

Status
Not open for further replies.

rubychyld

Programmer
Mar 22, 2001
76
US
I am using css id's to format some dynamically generated forms. Some of this dynamic text is hyperlinked. Is there any way to make something like this hover?

<span id=&quot;message1&quot;>
<a id=&quot;link&quot; href=&quot;myfile.htm&quot;>mylink</a>
</span>

#link {
color:black
}

how can I do this with an ID? I can't use css class properties...........
#link.hover {
color:red
}

Thanks for trying to help,
Liz Catch the vigorous horse of your mind!
 
You are cool! Thanks! Catch the vigorous horse of your mind!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top