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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onMouseOver style sheet change..

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I am having a problem with changing the border colors of a <TD> using onMouseOver; I want to have the onMouseOver create lines above and below the TD, using the stylesheet elements border top and border bottom, but I can't figure out how to do that..this is what it looks like..

<TD onMouseOver=&quot;style.(something)='FFFFFF'>blah blah</TD>

I don't know what goes after style., and the only element I have gotten to work at all is style.background What should go after style. ?
 
this.style.borderTop = &quot;1px solid black;&quot;;
this.style.borderBottom = &quot;1px solid black;&quot;;

should work. jared@eae.net -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top