setting image as a backgorund with a certain size

liunx

Guest
i knwo how to make a image the backgorund but i wnat the backgroudn a certain size how do i do that?<!--content-->i saw a question like this on devshed forums, and the general answer was that there's no way to do it yet.<br />
:(<!--content-->You could try using multiple DIVs. One to contain the background image and others to place the site content in.<!--content-->o ok cus i made soem background images for my site but if i cant make em a certain size i wont use them cus i wnat them to stay within my layout<!--content-->Something like:<br />
<br />
<br />
...<br />
<div id="bkGrnd" style="position:absolute; top:0; left:0;"><br />
<img src=http://www.webdeveloper.com/forum/archive/index.php/"bgImage.jpg" width="100%" height="100%"><br />
</div><br />
<br />
<div id="contentDiv" style="position:absolute; top:0; left:0;"><br />
....<br />
</div><br />
...<!--content-->yea i ahev never used DIV before so i would ahve no clue what to do LOL<!--content-->Am I missing something besides just using a <div> tag with a defined background, width, and height?<!--content-->It's just 2 overlapping DIVs, but it gives you control to do whatever with the image in the first DIV....<!--content-->
 
Back
Top