W3C home > Mailing lists > Public > w3c-wai-er-ig@w3.org > February 2001

Re: Open Issue #20 - Absolute Units In Style Sheet

From: Sean B. Palmer <sean@mysterylights.com>
Date: Fri, 2 Feb 2001 15:27:12 -0000
Message-ID: <01b301c08d2c$bbc37440$5add93c3@z5n9x1>
To: "Chris Ridpath" <chris.ridpath@utoronto.ca>, "WAI ER IG List" <w3c-wai-er-ig@w3.org>
> Is it OK to use a point size in a style sheet?

Yes, in the correct place.

     @media print { p { font-size: 12pt; } }

> Should we suggest that the page author convert all font sizes to
> relative units (em, ex, larger, smaller, or a percentage)?

Only if the CSS sheet is to be used on a multitude of devices. If the
device is known, then absolute units can be used. Please note that em etc.
can be used for widths etc. as well, not just for font-sizes:-

     .navbar { width: 20em; }

Kindest Regards,
Sean B. Palmer
@prefix : <http://webns.net/roughterms/> .
[ :name "Sean B. Palmer" ] :hasHomepage <http://infomesh.net/sbp/> .
Received on Friday, 2 February 2001 10:29:49 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:01:32 UTC