Background style/colour/pic problem

liunx

Guest
Hi, im having a bit of trouble with backgrounds in css.

I wanted to use this code for the background, but it only works in IE:

filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#ECE9D8', startColorstr='#C0CFE2', gradientType='0');

In stead i am using a picture as my background:

background: url(bkg.bmp) repeat-x 0 0;

My problem is with larger sized browser windows the background pic does not fill the page completly. The ideal style is the first code i used but this dont work in all browsers.

I was wondering is there a way to have the first code work in most/all browsers;
or is there a way i can set a background colour and apply the pic on top of that as a background;
or stretch the background pic to 100% in y direction.


thanks for any helpYou can set the background to a color and use the image to create the gradient color that will fade into the bg color

The Filter property is an IE thing
 
Back
Top