Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why are my font sizes different in different browsers (Im using ems or %)?

BROWSERS different EMS font
0
10 Posted

Why are my font sizes different in different browsers (Im using ems or %)?

0

Netscape 4 and early versions of IE do not support these properties correctly. They will work (in the most part) correctly in Netscape 6 or IE 5.To avoid the problem do not specify font sizes at all. If this is unacceptable to you, you should exclude the font size declarations by means of an @import statement:STYLE SHEET: @import url(nameoffile.css);Allof the font size declarations go in the imported style sheet. This will remove the problems, but will mean that the older browsers do not get font size declarations.If youmustspecify fonts in these browsers, you can use pixels, but before doing so please read the note below.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123