P
Paul Furman
How come this doesn't work for me? I tried all sorts of combinations and
the text inside the td's is smashed pretty tight to the edges by a
couple pixels or so. IE & Mozilla see nothing. Mozilla doesn't see the
background color but that's another issue. I want a little space between
the border and the text, that's padding, right?
Wrapping the contents in a div inside the td works
<div style="padding: 4px;">
this doesn't:
table.normal {
font-size: 8pt;
font-family: Arial;
background-color=#CCD8CD;
border=1px solid #aaaaaa;
border-collapse: collapse;
padding-left: 4px;
}
td.normal {
border=1px solid #aaaaaa;
padding: 4px;
}
<table class="normal" width="480px">
<tr>
<td align="left" class="normal">
text here
the text inside the td's is smashed pretty tight to the edges by a
couple pixels or so. IE & Mozilla see nothing. Mozilla doesn't see the
background color but that's another issue. I want a little space between
the border and the text, that's padding, right?
Wrapping the contents in a div inside the td works
<div style="padding: 4px;">
this doesn't:
table.normal {
font-size: 8pt;
font-family: Arial;
background-color=#CCD8CD;
border=1px solid #aaaaaa;
border-collapse: collapse;
padding-left: 4px;
}
td.normal {
border=1px solid #aaaaaa;
padding: 4px;
}
<table class="normal" width="480px">
<tr>
<td align="left" class="normal">
text here