On Jun 6, 2006, at 2:50 PM, Bojana Lalic wrote:

>
> Can I have font-size: 2.2em/1.5; instead? I am just a bit confused  
> about
> the two values thing.
>

No.

With the font  shorthand property, the first value (2.2em) is the  
font-size, the second one is the line-height.
If you use the font-size property, obviously, you can't have the line- 
height in there.

selector {
        font: 2.2em/1.5 sans serif;
}
or
selector {
        font-family: sans-serif;
        font-size: 2.2em;
        line-height: 1.5;
}

Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com>




______________________________________________________________________
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