Board index   FAQ   Search  
Register  Login
Board index Web Designing Forums CSS Forum

Easy CSS questions....

CSS coding, Cascading Style Sheet, learn, tutorials, templates, examples, discussions and help.

Easy CSS questions....

Postby James » Sat Sep 10, 2011 5:00 am

margin: 0 auto;

Means the text above start at 0 pixels from the left, but what automatic rest? What are some examples of what I can change the automobile?

thank you
James
 
Posts: 530
Joined: Tue Dec 21, 2010 12:45 pm

Re: Easy CSS questions....

Postby Alexander » Sat Sep 10, 2011 5:01 am

When applied on the body or a div wrapper, the center simply content horizontally on the page. 0 applies to the top and bottom, the car left and right. It can also center the individual elements in a div, but does not mean 0px 0.
Alexander
 
Posts: 1165
Joined: Tue Dec 21, 2010 12:46 pm


Return to CSS Forum

Who is online

Users browsing this forum: No registered users and 0 guests

cron