Log In · Register

 
DIV
grizzlybearcody
post Aug 11 2009, 06:00 PM
Post #1


Member
**

Group: Member
Posts: 12
Joined: Aug 2009
Member No: 741,528



In firefox my DIVs are positioned perfectly.
But in IE they're moved over a few pixels.

CODE
<div class="content" style="position: absolute; top: 1977px; left: 50%; margin-left: -16px ! important; width: 460px; height: 40px; background-color: transparent;"><img src="body_header_image"></div>


Is there anything I can add to that to make it work in both browsers?



Thanks,
Cody
 
 
Start new topic
Replies
Mikeplyts
post Aug 11 2009, 07:04 PM
Post #2


Mel Blanc was allergic to carrots.
*******

Group: Official Designer
Posts: 6,371
Joined: Aug 2008
Member No: 676,291



^Yeah, try that:

CODE
<div style="position:absolute; top:1977px; left:50%; _left:50%; margin-left:-16px; _margin-left:-16px; width:460px; height:40px; background-color:transparent;">
<img src="body_header_image" border="0">
</div>


See if that does anything.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: