E-mail List Archives
Re: Font size question
From: Tom Gilder
Date: Oct 29, 2002 7:56PM
- Next message: Steven Vosloo: "RE: Accessibility of the Internet in Postsecondary Education"
- Previous message: Michael R. Burks: "RE: Accessibility of the Internet in Postsecondary Education"
- Next message in Thread: Leo Smith: "Re: Font size question"
- Previous message in Thread: Leo Smith: "Re: Font size question"
- View all messages in this Thread
On Tuesday, October 29, 2002, 9:28:02 PM, Leo Smith wrote:
> The solution to this issue seems to be to use font sizes specified
> in % rather than em.
The problem being that you then run into problems with Opera. Opera
calculates % incorrectly, making text 1px smaller than it should be.
The easiest way around both these bugs is to use em sizing for
everything, except the base font, where you do:
body {
font-size: 80%;
font-family: verdana, etc, sans-serif;
}
html>body {
font-size: .8em;
}
Hopefully Opera will fix this (incredibly annoying) bug for v7.
Cheers
--
Tom Gilder
http://tom.me.uk/
----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/
- Next message: Steven Vosloo: "RE: Accessibility of the Internet in Postsecondary Education"
- Previous message: Michael R. Burks: "RE: Accessibility of the Internet in Postsecondary Education"
- Next message in Thread: Leo Smith: "Re: Font size question"
- Previous message in Thread: Leo Smith: "Re: Font size question"
- View all messages in this Thread