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

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

visual c++ - Using relative values in array sorting ( asm ) -