that will work if the div isn't inside of something else that has had
the font sized changed.  for example if you had:

<body>
        <div class="layer1">
                <div class="layer2">
                </div>
        </div>
</body>


body {font-size: 1em;}
.layer1 {font-size: .75em;}
.layer2 {font-size: 2em;}
.layer2 * {font-size: 1em;}

: then all your elements are going to be (1 * .75 = .75em) -> (.75em *
2em = 1.5em) -> (1.5em * 1em = 1.5em) -> 1.5em.  if you want to set it
specifically back to the original em, you could either calculate all
that changing back out, or set the font size using a word, such as
"font-size: medium;".


[someone correct me if i'm wrong, please.  you'd fix my understanding as well.]
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to