Background Image (resize)

Hi, We are using an image as a background to our pages which is set in a style sheet. What we would like to do is have the image resize (stretch) as the browser is resized (currently IE8). Repeating the image isn’t an option as part of the image is low on the left hand side and high on the right. The CSS background-stretch property isn’t supported by IE8, but it is possible to achieve the resizing using HTML (and presumably removing from the style shett). Is there any way of implementing the HTML code anywhere in order to achive the stretch effect.

Thanks in advance for any help.

Hi Lee Pearson,

I think you can try the following code in your style sheet…

background-color:transparent;
background-image:url(image.png);
background-position:center center;
background-repeat:no-repeat;

I hope it helps.

Regards,
Orlando.