Aims:
color
and background-color
propertiesred
, maroon
,
orange
, yellow
, blue
, etc.rgb(x,y,z)
(percentages or 0-255)#xxyyzz
(three hexadecimals, 00-FF)font-family
property but give it multiple values
body {font-family: "Lucida Grande", Verdana, Lucida, Arial, Helvetica, sans-serif; }
font-size
property:
body
either leave it up to the browser or
use pixels or ems (probably not exs)body
's font-size
,
use relative sizes (ems and percentages)body {font-size: 11px;} ul {font-size: 0.8em;} td {font-size: 150%;}
.cocktail {font-weight: bold;}
.action {font-style: italic;}
width
, height
padding-top
border-top-width
, border-top-color
,
border-top-style
(e.g. solid
, dashed
)
margin-top
-right
, -bottom
, -left
a
and img
)
to block-level, e.g.:
#navigation a {display: block;}
li
)
to inline, e.g.:
li {display: inline;}
top
,
right
, bottom
and/or left
):
#navigation {position: absolute; top: 0; left: 0;}