CSS Billy Idol Practice Page

Box Model Basics

All elements are like nesting boxes. Each has capacity for interior space (padding), a containing perimeter (the box), and exterior spacial relationships to other elements (margin).

Display Types

I'm a paragraph, natively "block level."

Below is an img tag, natively "inline":

I'm a link, mostly "inline."

Floats

Four Position Types

Static, Relative, Absolute, Fixed

BOX

BOX

BOX

BOX