WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: I'm confused on CSS units of measurement now...

for

From: Keith Patton
Date: Feb 23, 2004 7:40AM


Hi,

we use the approach found at
http://diveintoaccessibility.org/day_26_using_relative_font_sizes.html

It uses font keywords as a base line with a css 'hack' for correct
cross-browser implementation.

The reasoning for using this method is explained on the site, and for an
example of the approach see www.ethicalmedia.com/homepage/

here is example code for a template in which everything on the page is
inside a table cell:

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

TD {
font-size: 14px;
}

/*/*/a{}
body TD {
font-size: x-small;
voice-family: ""}"";
voice-family: inherit;
font-size: small;
}
html>body TD {
font-size: small;
}
/* */

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Hope that helps,

Keith


-----Original Message-----
From: <EMAIL REMOVED> [mailto: <EMAIL REMOVED> ]On
Behalf Of Laura Carlson
Sent: 23 February 2004 14:12
To: <EMAIL REMOVED>
Subject: Re: I'm confused on CSS units of measurement now...


--On Friday, February 20, 2004 8:55 AM -0500 "Savin, Jill"
< <EMAIL REMOVED> > wrote:

> Pixels for font size are not recommended anymore - mainly because IE
> can't resize that text, if someone with visual impairments wants to
> make it bigger?
>
> Ems are preferred, because you can set percents, which scale better.

Jill,

You may find some of this Font Sizing information and links helpful:
http://www.d.umn.edu/goto/type

Laura
___________________________________________
Laura L. Carlson
Information Technology Systems and Services
University of Minnesota Duluth
Duluth, MN 55812-3009
http://www.d.umn.edu/goto/webdesign/


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/


----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/