Have you ever needed to have your background image automatically fullscreen to the browser dimensions
There are so many different ways to do it but i found the most reliable way is to use a div container. Place an image within it setting the width and height to 100%
1 2 3 4 5 6 |
<body style="padding:0px; margin:0px;" id="page-body"> <div id="bgpicture" style="position:absolute; top:0px; left:0px; width:100%; height:100%;"> <img width="100%" height="100%" src="http://www.domain.com/images/img.jpg" /> </div> </body> |