When applied to the body or a wrapper div, this simply centers the content horizontally on the page. 0 applies to top and bottom, auto to left and right. It can also center individual elements within a div, but 0 does not mean 0px.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
the margin attribute can be used inside or outside of DIV's
Incorrect.
A margin PROPERTY applies to the outer edges of the border area in the box model, it does not affect the 'inside' of the box.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?