Page 1 of 1

font

Posted: Sun Jun 05, 2005 7:03 pm
by Josh
Could someone please explain what the heck this "/" thing means or why there's two fonts?

[code]font: 8pt/16pt  verdana, geneva, arial, sans serif;[/code]

I didn't know you could specify two different font sizes? :unsure:

Thanks in advanced,
~Josh (spike)

font

Posted: Sun Jun 05, 2005 7:30 pm
by us3rX
The font property may be used as a shorthand for the various font properties, as well as the line height. For example,

P { font: italic bold 12pt/14pt Times, serif }

specifies paragraphs with a bold and italic Times or serif font with a size of 12 points and a line height of 14 points.

:D
us3rX :ph34r:

font

Posted: Sun Jun 05, 2005 7:45 pm
by Josh
OHHHHHHHHHHH ok.. thanks us3rx :) I couldn't find anything on W3C :P

font

Posted: Mon Jun 06, 2005 11:19 am
by us3rX
np

us3rX :ph34r: