CSS declarations I

Derek Bridge

Department of Computer Science,
University College Cork

CSS declarations I


CSS Cheat Sheets


Fonts on the Web

Font families

Downloadable fonts

Absolute font sizes (avoid!)

Relative font sizes

Font weight and style


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