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