KnotGoblin
Technical User
I am try to change the cell padding and font size of a table generated by an ASP .NET datagrid control.
I am using the following my css:
This same thing works for another page.
ASP is not changing the table ID. I've checked that.
The only difference I can find, which I'm guessing my be the case, is that (for some unknown reason) ASP is putting <span>'s around contains of the cells in this table (not the others)? could the <span>'s be causing the style not to be applied to the <TD>?
here's an example of what ASP .NET is generating:
-Jer
I am using the following my css:
Code:
#dgdJobs TD
{
font-size: 85%;
padding: 1px 2px 1px 2px;
}
ASP is not changing the table ID. I've checked that.
The only difference I can find, which I'm guessing my be the case, is that (for some unknown reason) ASP is putting <span>'s around contains of the cells in this table (not the others)? could the <span>'s be causing the style not to be applied to the <TD>?
here's an example of what ASP .NET is generating:
Code:
<tr class="dgRow">
<td nowrap="nowrap" align="Center">
<a href="panels.aspx?job=1236">1236</a>
</td>
<td>
<span>Nissan, Smyrna, TN</span>
</td>
...
</tr>
-Jer