Download pptx - Aligning elements

Transcript
Page 1: Aligning elements

LAURA DEMERSDANIEL NISZCZ

CHRIS DANELON

Aligning elements

Page 2: Aligning elements

What is align CSS?

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

Page 3: Aligning elements

Text-Align

Controls the format of the text

Page 4: Aligning elements

Text-align cont.

Page 5: Aligning elements

Vertical-align

Controls the text corresponding to the adjacent image

Page 6: Aligning elements

Vertical-align cont.

Page 7: Aligning elements

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