How do I keep the focus image of the centralized background image?
I wonder if it has something to do with the use of body and #body css selectors (one for the tag with the name body
and one for the div with the namebody
Is the intent that the nav area has a white background and the #content div has an image background?
Could you try this instead of what you have?
body {
margin: 0px;
padding: 0px;
}
#content {
background-color: #333;
background-image: url(../images/bg.png);
background-repeat: repeat-y;
background-position: center;
float: right;
width: 720px;
padding-top: 35px;
padding-left: 0px;
}
a source to share
I think the problem is that both the navigation area and the content area are floating and the content is absolute width.
The quickest fix is ββto set the background color of #nav to white. This will still cause problems for the title (Good Show and A creative studio in Atlanta), but I think you need to watch again how you make this chunk (they are only 2 images)
It's probably better to have 2 columns all the way to the top, and these images can be in a div with a fixed height at the top of each
a source to share