font:normal 22px/27px Arial, Helvetica, sans-serif;
Im working on someone else’s CSS and ran across this… why is there two numbers specified and what does that do? :inspector:
font:normal 22px/27px Arial, Helvetica, sans-serif;
Im working on someone else’s CSS and ran across this… why is there two numbers specified and what does that do? :inspector:
font:normal 22px/27px Arial, Helvetica, sans-serif;
The 27px is the line-height:27px; its the shorthand font declaration.
font-weight:normal;
font-size:22px;
line-height:27px;
font-family:Arial, Helvetica, sans-serif
The above = font:normal 22px/27px Arial, Helvetica, sans-serif;
IC perfect thanks
Sweet. I saw this shorthand for the first time yesterday and was wondering what it was also. Thanks for the info computerbarry! (and thanks plasma for asking the question ^^)