Jump to content

Cross-Browser Font-Size


tinfanide

Recommended Posts

I'm creating a website and discover that in my site font-size is a little bigger in Firefox than in IE.I use px as the unit of texts. Is there a cross-browser fix?

Link to comment
Share on other sites

It doesn't really matter what you use, just don't expect it to look the same size on all browsers. The point is that you should not make a design that is dependent on the font being the right size.

Link to comment
Share on other sites

oh... but if my texts are placed inside a div, then the div has to be set "height: auto" in order to let the content decide the height of the div so that if the font-size is gettin bigger than expected, the div can still embrace it?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...