Aligning elements

Preview:

DESCRIPTION

Aligning elements. Laura Demers Daniel Niszcz Chris Danelon. What is align CSS?. Controls how you place paragraphs, pictures, text, etc… on a webpage. Text-Align. Controls the format of the text. Text-align cont. Vertical-align. Controls the text corresponding to the adjacent image. - PowerPoint PPT Presentation

Citation preview

LAURA DEMERSDANIEL NISZCZ

CHRIS DANELON

Aligning elements

What is align CSS?

Controls how you place paragraphs, pictures, text, etc… on a webpage

Text-Align

Controls the format of the text

Text-align cont.

Vertical-align

Controls the text corresponding to the adjacent image

Vertical-align cont.

Margins

Controls the space around the elementExample:

#box {margin-left:200px}

This code will place 200px of blank space to the left of the object you are attempting to move

#element {margin: 0 auto;} will make the object align to the center

Recommended