CSS HOW-TOCSS3CSS TemplatesLink listContactSitemap

Positioning

Borders

border-color:#000000; (border color)
border-style:solid; (border style)
values: dotted, dashed, solid				
border-width: 3px; (border width)

There is also a short syntax which combines all these attributes. border: 1px solid #000000;

Positioning

top: 100px;
values: left, bottom, right, 
height, width
padding:10px; (inner spacing)

absolute / relative positioning: position="...." ; absolute, relative (relative to the previous element)
stacking: z-index:"."; numeric index for the stacking order
Visibility: visibility:"...."; visible, hidden

Relative Sizes

Measurements can be absolute or relative. Relative measurements work better accross media (ie screen and print).
em the size of the used font
ex the height of the used font (mostly the height of the small x, thus the name)
px size in pixel, relative to the medium

Absolute sizes

There are also absolute measurements inches= 1 inch is 2.54 centimeter s
cm centimeter
mm millimeter
pt Points - One point is 1/72 inch
pc Picas - 1 Pica is 12 Points

further Articles