PDA

View Full Version : Stretch background to screen resolution?



MoronicDev
Apr 27th, 2010, 10:44 PM
OOPS, already discovered a solution to the problem.

skywalker2208
Apr 28th, 2010, 06:05 AM
Try setting the background image to the body tag instead of the div.


What are you using frames for everything?

InterDevil
Apr 28th, 2010, 06:59 AM
Good Day!

I've also noticed that your "body" tag has no class for margin, which by default body has its own margin assigned, that is the reason you also see white area on the left and right hand side. Try adding "margin:0;" to your "body" tag as such;



BODY {
scrollbar-face-color: #ffffff;
scrollbar-highlight-color: #ffffff;
scrollbar-shadow-color: #999999;
scrollbar-3dlight-color: skyblue;
scrollbar-arrow-color: silver;
scrollbar-track-color: #E8E8E8;
scrollbar-darkshadow-color: #eeeeee;
margin:0;
}


Hope that helps.

Thank you!