CSS

CSS

Chapter 15: Layouts

Key Concepts in Positioning Elements

CSS

CSS

Controlling the Position of Elements

CSS

CSS

Normal Flow

position:static

Relative positioning

position:relative

-You can indicate that an element should be relatively positioned using the position property with a value of relative.

Example:

CSS CSS

Absolute Positioning

position:absolute

Example:

CSS CSS

Fixed positioning

position:fixed

CSS CSS

Fixed Width Layouts

CSS

Liquid Layouts

CSS

References:

Main page