css - Why does it need left property to be centered? -
i go site: http://www.domdesignonline.de/.
take @ div#siteend, don't understand why centered, needs left property. i'm css beginner.
thanks first.
div#siteend has width of 100% , contained in div less 100% wide.
this means if doesn't have left:0; left side of bounding box on inner-leftside of parent item (div#wrap).
you leave out left:0; , make width of div#siteend same div#wrap , achieve same effect.
Comments
Post a Comment