I'm currently developing a website and am having issues with div tags.
When the contents of a page are greater than the screen resolution and the user has to scroll down the page, the container div tag moves down with it.
I need the container div to stay at the top of the page where i have coded iteven when scrolling.
This issue only occurs in Internet Explorer and not in Firefox, Opera, Safari of any other browsers i have tested.
The container div has "relative" positioning and i have 2+ divs inside that, with "absolute" positioning so they stay enclosed in the container.
Below is an example of the html code and CSS, any help i can get in resolving this issue would be greatly appreciated.
CODE
/* General CSS */
html {height: 100%;}
body {margin: 0px; padding: 0px; height: 100%; background-color:#F5F5F5; font-family: Tahoma; font-size:11px; color:#000000;}
form {margin: 0px; padding:0px;}
hr {border: 0; width: 60%; color: #E4C7AC; background-color: #E4C7AC; height: 2px;}
/* HTML Code */
<div style="position:relative; z-index: 0;">
<div style="position:absolute; top:0px; left:0px; z-index: -1;"><img src="images/star2.png" border="0" width="100" height="90" alt="" /></div>
<div style="position:absolute; bottom:-5px; right:-5px; z-index: -1;"><img src="images/contactpage.png" border="0" width="200" height="200" alt="" /></div>
ADDITIONAL CONTENT
</div>
html {height: 100%;}
body {margin: 0px; padding: 0px; height: 100%; background-color:#F5F5F5; font-family: Tahoma; font-size:11px; color:#000000;}
form {margin: 0px; padding:0px;}
hr {border: 0; width: 60%; color: #E4C7AC; background-color: #E4C7AC; height: 2px;}
/* HTML Code */
<div style="position:relative; z-index: 0;">
<div style="position:absolute; top:0px; left:0px; z-index: -1;"><img src="images/star2.png" border="0" width="100" height="90" alt="" /></div>
<div style="position:absolute; bottom:-5px; right:-5px; z-index: -1;"><img src="images/contactpage.png" border="0" width="200" height="200" alt="" /></div>
ADDITIONAL CONTENT
</div>
