Jump to content

CSS screwed up


Aaron

Recommended Posts

In my CSS for my website, the backround is blue and there is a white container thing that is supposed to have all the content in it. It was working then I changed a diferent div and it's not working now, the white is only around the banner. See it at http://www.canforce.org .

container

#container
{
margin-left:auto;
margin-right:auto;
margin-top: 0px;
margin-bottom: 0px;
width:760px;
background-color: #FFF;
padding:10px;
}

Code that I changed. I hadn't changed anything in the tpl, but if I completely delete the stuff inside the div, then the container will work

#body
{
float: left; width: 405px; padding-left: 10px;
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...