Wed, 2004-01-07 01:28
Hi-
I have a main div, and to center it, I have used
left: 50%; margin-left: -375px;
This renders just fine in Netscape, but acts as though there is no negative margin in IE. Please help!!!
Thanks!
Wed, 2004-01-07 01:50
#1
negative margins in IE misrenders; works fine in NS
Got a link?
Wed, 2004-01-07 13:00
#2
negative margins in IE misrenders; works fine in NS
Wed, 2004-01-07 13:05
#3
negative margins in IE misrenders; works fine in NS
try using position: absolut; instead of position: relative;
Wed, 2004-01-07 13:11
#4
negative margins in IE misrenders; works fine in NS
now, with absolute, its centered on the left edge in both browsers
Wed, 2004-01-07 13:19
#5
negative margins in IE misrenders; works fine in NS
how strange....I changed it back, and it didn't make any difference. So, i cleared internet cache, and then it went to the original positions, as stated in my first post.
Wed, 2004-01-07 13:28
#6
negative margins in IE misrenders; works fine in NS
cleared my cache again...and PRESTO! It all works the way its supposed to.