E-mail List Archives
Re: Font size question
From: Leo Smith
Date: Oct 30, 2002 3:01PM
- Next message: Rachel: "Javascript OnClick event"
- Previous message: Joel Ward: "Re: Long URLs in HREFs"
- Next message in Thread: None
- Previous message in Thread: Tom Gilder: "Re: Font size question"
- View all messages in this Thread
great idea Tom...
thanks!
leo.
On 30 Oct 2002, at 2:48, Tom Gilder wrote:
> 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/
>
Leo Smith
Web Designer/Developer
USM Office of Publications and Marketing
University of Southern Maine
207-780-4774
----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/
- Next message: Rachel: "Javascript OnClick event"
- Previous message: Joel Ward: "Re: Long URLs in HREFs"
- Next message in Thread: None
- Previous message in Thread: Tom Gilder: "Re: Font size question"
- View all messages in this Thread