I'm simply trying to keep the body color from spilling inside the middle of my page (between the 2 sidebars), which I want to keep white.
开发者_开发知识库I'm kind of building this template from scratch and really want to do it the right way so that I can use it for other html projects as well. Could someone tell me what I'm doing wrong and what I could do better to make the css work?
Thanks!
URL here
put this style for your container:
#container {
margin:0 auto;
width:900px;
background:white
}
This is because by default background value for HTML element is transparent, so everything is see-through unless you specify otherwise
精彩评论