Go Back   Ultimate Web Site Drop Down Menu Forum > Web Development > CSS and HTML
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Unread 10-21-2008, 06:52 PM
Join Date: Dec 2007
Posts: 45
Question Change border color of table for current row only

Hi, need help please!

I have a table within a table, the background color of table is blue to match the background color of my <td>.

but now i want onmouseover to change the background color of the <td> which i do but the row in between the colommns have a blue color.

<tr class="tbDetailNew">
<td width="8%"> </td>
<td colspan="6">
<table id="test" style="border:none; backgound-color:blue;" width='100%'>
<td onmousemove="style.backgroundColor = 'white';"do***ent.getElementById('test').style.bac kgroundColor = 'white';">

i get it to change the table backgound color but then it changes for all the rows within the table - i just want to the row i'm on.

Please Assist.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT. The time now is 06:08 PM.

Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.