Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Simple BG question – beginner Re: Simple BG question – beginner

#54071
Ramesh
Member

i think u need to check your code onec again

/* CSS Document */

body {
background: url(top_head_bg.jpg) repeat-x left top;
background-color: #E8E4D6;
}

div#page-wrap {
width: 800px;
margin: 0 auto;
}

div#header {
background: url(top_head.jpg) no-repeat left top;
height:150px;
width:768px;
margin:0 auto;
}

/* this is your css code

div#header {
background: url(top_head.jpg);
background-repeat: no-repeat;
margin-top: 0px;
left: center;
height:150px;
width:768px;
}
*/

/*ul#nav {
background-image: url(nav_bg.jpg);
background-repeat: no-repeat;
position: absolute;
height: 38px;
width: 773px;
}

div#container {
background-image: url(sides.jpg);
background-repeat: repeat-y;
*/