Hiya, unfortunately the css background property doesn't take height/width dimensions so there's no quick fix for this one. The only way i can think of is to set the image within a div tag then change the z-axis so it sits behind your content. I would check browser compatibility though as this is a bit of a cheap hack.
You could try something like this I guess.
Always better to resize the image in an art package though so you're starting off with the correct proportions.Code:<div style="width: 100%; height: 100%; left: 0px; top: 0px; position: absolute; z-index: 0;"> <img src="image.jpg" style="width: 100%; height: 100%;"> </div>
Cheers
Paul.
LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks