<html>
<!-- prob3-->
<head>
<style type=”text/css”>
th.th1 { background-color: blue; }
</style>
</head>
<body>
<table width="500" cellspacing="2" border="1">
<tr>
<td><div align="left">Nested Table
don't use rowspan attribute</div>
<table height="80" width="110" cellspacing="2" cellpadding="2" align="left" border="1">
<tr>
<td>CSAT Management</td>
</tr>
</table>
<table width="380" cellspacing="2" cellpadding="2" align="right" border="1">
<th class ="th1">
<tr>
<td>Dean - Dr. Rogers</td>
</tr>
</th>
</table>
<table width="380" cellspacing="2" cellpadding="2" align ="right" border="1">
<th>
<tr>
<td>Associate Dean - Dr. Carter</td>
</tr>
</th>
</table>
</td>
</tr>
</table>
</body></html>
Background color of table help
Page 1 of 14 Replies - 226 Views - Last Post: 26 October 2011 - 11:33 PM
#1
Background color of table help
Posted 25 October 2011 - 07:47 PM
So I'm trying to make the nested tables <hr> tags have background colors of blue, but I can't seem to get it working.
Replies To: Background color of table help
#2
Re: Background color of table help
Posted 25 October 2011 - 08:17 PM
that’s because the syntax is all messed up. firstly I don’t see a need for nested tables at all. second, <th> goes into <thead>.
#3
Re: Background color of table help
Posted 25 October 2011 - 09:01 PM
Its rather messed up as Dormlilich said.. Also sorry for repeating buts its all the same errors as Dormlilich said, Why nested?
#4
Re: Background color of table help
Posted 26 October 2011 - 07:39 PM
It was an assignment.
#5
Re: Background color of table help
Posted 26 October 2011 - 11:33 PM
I see. I rest my.. case?
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote




|