views:

251

answers:

2

My site displays just like in need in IE and Opera, but in Firefox I can't get (via CSS) to have font sizes smaller than Firefox' default minimum-font-size. Of course I can go to Tools>Options and remove this value, but other users will see some of the elements displaced.

I have tried using !important, but it doesn't work. And I can't substitute the text by images, they are dynamic fields.

+2  A: 

If you set the the font size attribute on the body it should set it as default font size.

body
{
    font-size: 12px;
}
Dustin Laine
Will this override the minimum-font-size user preference in browsers? I cannot try this right now.
Alextronic
This will set the page font size to whatever you want. The user can re-size, but that should be fine.
Dustin Laine
A: 

In some cases you can use <canvas> element and fillText().

Danylo Mysak