dwoody
08-20-04, 11:00 PM
Hey,
I was wondering how to get my border style to effect all the borders on the table. I have a table with multiple cells here but my style seems to only apply to the outer border. How would i get a border that would show all cells?
<html>
<style>
.thetable{border: 2px solid red}
</style>
<body>
<table cellspacing="0" cellpadding="0" class="thetable">
<tr><td width="100" height="100"> </td><td width="100" height="100"> </td></tr>
<tr><td width="100" height="100"> </td><td width="100" height="100"> </td></tr>
<tr><td width="100" height="100"> </td><td width="100" height="100"> </td></tr>
<tr><td width="100" height="100"> </td><td width="100" height="100"> </td></tr>
</table>
</html>
I was wondering how to get my border style to effect all the borders on the table. I have a table with multiple cells here but my style seems to only apply to the outer border. How would i get a border that would show all cells?
<html>
<style>
.thetable{border: 2px solid red}
</style>
<body>
<table cellspacing="0" cellpadding="0" class="thetable">
<tr><td width="100" height="100"> </td><td width="100" height="100"> </td></tr>
<tr><td width="100" height="100"> </td><td width="100" height="100"> </td></tr>
<tr><td width="100" height="100"> </td><td width="100" height="100"> </td></tr>
<tr><td width="100" height="100"> </td><td width="100" height="100"> </td></tr>
</table>
</html>