What is the proper syntax for putting all css font properties into one value.
body {font: 12px, arial, red}
Something like that but with all th
body{
font: bold italic 15px/20px arial,sans-serif;
color: red;
}
http://www.w3schools.com/css/tryit.asp?filename=trycss_font
you can't include the color as part of the declaration. 15px/20px = font-size/line-height
nice link, maegar!
font: [ [ <'font-style'> || <'font-variant'> || <'font-weight'> ]? <'font-size'> [ / <'line-height'> ]? <'font-family'> ] | caption | icon | menu | message-box | small-caption | status-bar | inherit
Source: http://www.w3.org/TR/CSS2/fonts.html#font-shorthand
http://www.w3.org/TR/CSS2/fonts.html
For a tutorial:
http://www.w3schools.com/css/pr_font_font.asp