Reputation: 497
how can I force the attribute "small" to a specifically size? (ex: 13px)
I'm reading data from a db and I have to display tags like this:
<p class="MsoNormal" style="margin: 0cm 0cm 0pt; text-align: justify;"><span style="font-size: small;">Text</span></p>
I can't modify these tags and works different in IE8 and FireFox so I want to force it.
Is it possible?
Thank you.
Upvotes: 2
Views: 1613
Reputation: 536389
Add a Standards mode <!DOCTYPE>
to your document.
The font-size keywords are only implemented differently by IE in Quirks mode. Go to Standards mode and IE will behave the same as Firefox (and it fixes many other bugs too).
Upvotes: 7