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

Individual row borders?

Status
Not open for further replies.

snoopy75

Technical User
Aug 24, 2001
340
US
How come this won't work?
Code:
<STYLE>
.row_over {
	BORDER: 1pt solid black;
	BACKGROUND-COLOR: #FCC552;
}
.row_out {
	BORDER: none;
	BACKGROUND-COLOR: #FFFFFF;
}
</STYLE>
...
Code:
<table>
  <tr onmouseover=&quot;this.className='row_over';&quot; onmouseout=&quot;this.className='row_out';&quot;>
...

The background color changes, but I get no border. How come? This works if I use it on individual cells, but I'd like to put a border around an entire row onMouseOver. Any ideas? Thanks!

--Ryan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top