views:

92

answers:

2

Hi All

I have a one problem,

I have one background image having 1000px height. which i used in body of css having fixed height but on some pages my content height goes incresed more than background image its not look good, so i searched on google and i got a way to solve this issue, then iused a height in body tag,

and then i used a slice of bg-below of width="960px" which i used in html tag

it works fine in all browser except Internet explorer plese tell me what to do how can i resolve this problem.

Thanks Mayur

+1  A: 

As the first element in <BODY> put: <div style="background-image:url('yourimage.jpg');position:fixed;z-index:-1;width:100%;height:100%;margin:0"></div>

The div's background will be overlaid on top of the standard background.

Note: IE6 requires a special workaround, since it doesn't support fixed positioning.

spoulson
Hi i tried it but its not working in ie
Mayur
Which version of IE? What do you get? Need more details.
spoulson