WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Solution to Text Size Changer problem

for

From: julian.rickards
Date: Mar 10, 2004 6:50AM


I tend to use the body selector for only those properties/attributes that
applied to the <body> tag pre-XHTML: for example, body margins, body
background/color and text color. For example:

body {background: url(image.gif) top left repeat-y #F0F; color: #FF0;
margin: 0em 1em; padding: 0.5em;}

I know these work for all browsers in the sense that if the browsers
understand CSS, these properties seem to cascade down (where applicable) and
work properly. Notice the absence of font-family.

Lately, I have been containing the content in <div>s, generally 4 such as
<div id="masthead">, <div id="navbar">, <div id="body"> and <div
id="footer"> and using relationships to set the specific properties such as:

div#navbar {font: 0.8em/0.9em Arial bold}

Just my 2cents (Canadian currency, which seem to be growing in value against
the US currency of late: does that mean my comments are of greater value now
than before? :-)

---------------------------------------------------------
Julian Rickards
Digital Publications Distribution Coordinator
Publications Services Section
Ontario Ministry of Northern Development and Mines
Phone: (705) 670-5608
Fax: (705) 670-5690


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