Assuming markup similar to the following:
<div> <font size="1">Some text at 'size="1"'</font> and natively-sized text, with more at <font size="26">'size="26".'</font> </div>โ
Then you can explicitly specify CSS for inherit font-size from the parent element:
div { font-size: 1.5em; } div font { font-size: inherit; }
JS Fiddle demo .
Please note, of course, that font deprecated and therefore should not be used (since support for the item may cease without notice and / or changes without warning).
By the way, while !important will cause the ad to override the usual cascade of styles, it will take a sledgehammer to crack a nut; and, if it can be avoided (and in this case, it seems, it can be avoided), it should be, as this complicates the subsequent debugging of styles and the related inheritance problems.
In addition, this refers to the symptom of your problem; the problem you are really facing is the presence of font tags in your content / database. This needs to be fixed by deleting the elements and replacing them with the corresponding elements, such as em , span , etc ...
Literature:
David thomas
source share