Logged In: YES
user_id=57486
> Why move the attributes to a class for the two tables?
In general its good practice to separate the style info from
the html. For this case in particular i had to do this
because i'm embedding the diff tables in a generic page
template that applies general style rules to tables in the
page. By adding a class for those tables i was able to add a
rule for it that overrode the more general table rule.
> Can I get a recommended solution for the font issue?
Not sure, I added this rule:
.diff_table th, .diff_table td
{ font-size: smaller; }
But its a bit problematic as Mozilla defaults to a
considerably smaller monotype font size than IE so its hard
to be consistent across browsers.
|