CSS declarations I

Derek Bridge

Department of Computer Science,
University College Cork

CSS declarations I

Aims:

CSS Cheat Sheets

Fonts

Fonts on the Web

Font families

Downloadable fonts

Absolute font sizes (avoid!)

Relative font sizes

Font weight and style

Boxes

Each CSS box comprises content, surrounded by padding, surrounded by border, surrounded by margin.

Element display roles

Using CSS to change the element display role

Centering I

Centering II