What I'm looking for is a way to have a consistent em based measuring unit across all block elements in a site so that a width of say 10em will be the same no matter what the font size of the text in that block is.
Here's a little demo using your example with each element given a left margin of 10em, and similar headers with my typical use of spans:
http://hurricane.mit.edu/erp_manuals/test.html
As you can see the way you're suggesting still gives an effective margin of 12em when the font size is 1.2em and 15em when the font size is 1.5em.
--
Bill McAvinney
Massachusetts Institute of Technology
Web Services
Administrative Computing, IS&T
617-258-6023
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*****************************************************
- [WSG] Relative font sizes without relative dimension units Bill McAvinney
- Re: [WSG] Relative font sizes without relative dimensi... s2art
- RE: [WSG] Relative font sizes without relative dimensi... Patrick Lauke
- Re: [WSG] Relative font sizes without relative dimensi... Bill McAvinney
- Re: [WSG] Relative font sizes without relative dim... Lea de Groot
- Re: [WSG] Relative font sizes without relative dim... Bill McAvinney
- Re: [WSG] Relative font sizes without relative dim... Felix Miata
- RE: [WSG] Relative font sizes without relative dimensi... Patrick Lauke
- [WSG] Relative font sizes without relative dimension u... Bill McAvinney
- Re: [WSG] Relative font sizes without relative dimensi... Bill McAvinney
