View Single Post
  #1 (permalink)  
Old Jun 2nd, 2005, 19:26
p_hp_fan p_hp_fan is offline
New Member
Join Date: Jun 2005
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Mozilla & Netscape vs. IE

I have no idea why but for some reason IE's left:0;top:0; seems to be off. For example, when the code is...
Code: Select all
<div style="position:absolute;left:0px;top:0px;"> 
[img]images/b.jpg[/img]
<div style="position:absolute;left:0px;top:0px;"> 
[img]images/a.jpg[/img] 
</div>
A small image (image b) is supposed to be in the top left hand corner, obviously, but instead it's all the way to the left but about 4 or 5 pixels from the top, but the bigger image is at the top right hand corner, but it still throws all other <div> values off by about 5px's too far down. In Mozilla and Netscape the code runs as I'd like it to with the small image being in the corner and the bigger one directly beneath with no effect on other <div> values. What can I do to fix this IE frustration?