November 17th, 2003, 03:40 AM
CSS font sizes in IE 5
I am using an linked style sheet to render the font styles of my site. These fonts are displayed as they should be in IE 6, however in IE 5 the size of the font's seems to be ignored with all the other elements of the style being applies such as colour.
I am using % to determine the size, e.g. font-size: 70%.
Anyone got any ideas?
November 17th, 2003, 02:23 PM
Do you declare an initial font size, i.e. what the 100% would be?
Don't know whether that would be the problem, just a shot in the dark.
November 18th, 2003, 02:56 AM
no, the body tag is declared first with a font size as 70%. As I said all the other elements of the style are being applied except the size.
November 18th, 2003, 04:14 PM
and then see how it works. Earlier versions of Internet Explorer may not recognize an initial % designation of size. If that doesn't work, try
This forces an explicit size declaration, which your relative declarations can refer to.
Hope that answers your question.