S
shank
I have the below table. Can someone layout the CSS to make the equivalent
appearance? I made the following CSS and for the most part it works. I need
the whole table to have a 2px border. With my CSS, only the outside 4
borders have a 2px border width. The top row/cell does not have any border
at all. I gotta have one.
thanks
/* TABLE CSS */
..hc {
border-style: solid;
border-width: 2px;
border-color: #CC0000;
width: 100%;
padding: 20px
}
/* TOP ROW CELL CSS */
..hctoprow {
background-color: #CC0000;
border-style: solid;
border-width: 2px;
border-color: #CC0000;
padding: 2px
}
-----------------------
<table width="100%" border="2" cellpadding="0" cellspacing="0"
bordercolor="#CC0000">
<tr align="center">
<td bgcolor="#CC0000">
<font color="#FFFFCC" size="2" face="Arial, Helvetica, sans-serif"><strong>
1st row stuff
HITS!</strong></font>
</td>
</tr>
<tr align="center">
<td >
2nd row stuff
</td>
</tr>
</table>
appearance? I made the following CSS and for the most part it works. I need
the whole table to have a 2px border. With my CSS, only the outside 4
borders have a 2px border width. The top row/cell does not have any border
at all. I gotta have one.
thanks
/* TABLE CSS */
..hc {
border-style: solid;
border-width: 2px;
border-color: #CC0000;
width: 100%;
padding: 20px
}
/* TOP ROW CELL CSS */
..hctoprow {
background-color: #CC0000;
border-style: solid;
border-width: 2px;
border-color: #CC0000;
padding: 2px
}
-----------------------
<table width="100%" border="2" cellpadding="0" cellspacing="0"
bordercolor="#CC0000">
<tr align="center">
<td bgcolor="#CC0000">
<font color="#FFFFCC" size="2" face="Arial, Helvetica, sans-serif"><strong>
1st row stuff
HITS!</strong></font>
</td>
</tr>
<tr align="center">
<td >
2nd row stuff
</td>
</tr>
</table>