Our users are using a tool to create HTML content with, I don't have control over the HTML it generates but I do have control over the CSS behind it and I've managed to plugin jQuery as well.
Our design guidelines are that whenever a table is created with two column the width of the first column should be 300px and the second 380px.
When they create a table they have an option from the tool to set the width of each table cell however in order to save this for them I'd like to automatically apply this on the HTML.
Is there a way using CSS rules to set table widths of td1 and td2? I know in CSS I can do something like:
td
{
width: 300px;
}
but that will apply to all TDs.
If that's not possible using CSS I also have jquery plugged in and happy to use it if it's not possible using CSS.
EDIT: I need this solution to work with IE8 and above, old browser but most of our users still use it.