Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS background images Re: background images

#64914
godwinsam
Member

Hello,

Please try the following steps,
1. <div id="deco">
<img height="1" width="1" alt="" src="img/water.jpg"/>
</div>
2. #deco {
height:100%;
left:0;
position:absolute;
top:0;
width:100%;
}
3. #deco img {
display:block;
height:100%;
position:fixed;
width:100%;
}

Please try this, if you have any other doubts means,
please open this site(http://www.accommodationgateway.com.au/index.htm) in the firefox browser,
Then inspect the site using firebug, you can able to see the css coding and html coding.

Thanks & Regards