Reputation: 3032
Sorry everyone, I really can't find any better title for my question.
I have encountered with this code
font: 9pt/18px Tahoma;
Do you know what it means?
Upvotes: 36
Views: 5874
Reputation: 141
/* The shorthand */
font: 9pt/18px Tahoma;
/* The expanded version of the above style */
font-size:9pt;
line-height:18px;
font-family:Tahoma;
Upvotes: 14
Reputation: 9037
It's the font-size and line-height when you're using shorthand for the font declaration. So 9pt font-size and 18px line-height.
Upvotes: 4
Reputation: 168843
Yes. It's a short-hand way of writing font-size
and line-height
together.
Upvotes: 47