Janelle Clemens wrote:
 
> If you are using em with font-size is there is a way to clear the font-size
> of a box element (stop the inheritance)?    I am having a hard time
> explaining myself so maybe an example would be better.
 
> So if you have this code, the "More text" would be 0.80em relation to the
> 0.90em.
 
> <div style="font-size: 0.90em;">
>         Some text
>         <div style="font-size: 0.80em;">
>                 More text
>         </div>
>         Some text
> </div>
 
>  Is there a way to reset the font-size on the second div so the 0.80em is
> actually 0.80em relation to the body of 1.0em without having to do this?
 
> <div style="font-size: 0.90em;">
>         Some text
> </div>
>         <div style="font-size: 0.80em;">
>                 More text
>         </div>
> <div style="font-size: 0.90em;">
>         Some text
> </div>

http://css-discuss.incutio.com/?page=UsingKeywords

<div style="font-size: 0.90em;">
        Some text
        <div style="font-size: medium;">
                More text
        </div>
        Some text
</div>
-- 
"Who of you by worrying can add a single hour to his life?"
                                                Matthew 6:27 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/auth/

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to