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

python - Why doesn't list have safe "get" method like dictionary? -

razor - Is this a bug in WebMatrix PageData? -

sql server - Stored procedure -