hi, I just designed in photoshop the following page, just need a quick help in CSS coding. can some1 kindly tell me how to make body background 100% that repeats just once (the green balls) then I have a wrapper div of 800% pixel (with all the content) the footer is also like the body background of 100%. pls. see img for beter understanding: Uploaded with ImageShack.us
thanks for a reply. I tried that to crop the image and make it repear x-axis however the problem is should I do CSS over the body? I mean I have body, wrap div, header div, etc the wrap div comes next to body tag and the div is 800px only. I want the crop img to be 100% and the rest 800px. how do I do that?
The css body { background:url(path/to/your/image) repeat-x;} #wrapper { width:800px; margin:50px auto;} /* the top margin will move the wrapper div down so it does not overlap the background image*/ Code (markup): and in html <body> <div id="wrapper"> <div>header</div> <div>whatever else</div> </div> <- closes wrapper div <div>this is the footer div with 100% width and has a background image same like the body</div> HTML: close the body, html etc..... Hope you got it