tags:

views:

50

answers:

2

Hello,

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.

A: 

Will this work?

font-size: 13px;
Lasse V. Karlsen
+7  A: 

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).

bobince
Now, it works! Thank you.
epi82