LyndonOHRC
Programmer
Code:
tr[id^="W9Data"] {
border-bottom: 1px solid black;
}
I can select the tr's but I need to select it's child TD's.
Any help much appreciated.
Lyndon
Lyndon
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
tr[id^="W9Data"] {
border-bottom: 1px solid black;
}
I can select the tr's but I need to select it's child TD's.
tr[id^="W9Data"] [b]td[/b] {
border-bottom: 1px solid black;
}
<!DOCTYPE HTML>
<html>
<style type="text/css">
td
{
border: 1px solid blue;
}
tr[id^="W9Data"] td
{
border: 1px solid red;
}
</style>
<body>
<table>
<tr id="W9Data1"><td>cell1</td><td>cell2</td><td>cell3</td></tr>
<tr id="W9Data1"><td>cell1</td><td>cell2</td><td>cell3</td></tr>
<tr id="else_W9Data1"><td>cell1</td><td>cell2</td><td>cell3</td></tr>
<tr id="W9Data1"><td>cell1</td><td>cell2</td><td>cell3</td></tr>
</table>
</body>
</html>