Presentation within my
jsp file is entirely done using class attributes except column width settings on a table. There 2 tables with 11 columns in each all have different widths!
Currently I have inline style attributes like this -
- HTML: Select all
<td style="width: 30%;">Local Authority</td>
Can anyone please suggest how best to do this? would you keep the "style" as they are unique or perhaps create a class style in the
css file like so -
- Code: Select all
#wrec_origin_local_authority {
width: 10px;
}
So my
html would look like this -
- HTML: Select all
<td id="local_authority" class="local_authority">Local Authority</td>
This sound the cleaner route but any thoughts on the way to go?
thanks in advance
harry