Firefox/Safari DIV positioning different on IE |
Firefox/Safari DIV positioning different on IE |
![]()
Post
#1
|
|
Member ![]() ![]() Group: Member Posts: 14 Joined: Dec 2007 Member No: 601,095 ![]() |
I'm sure there's been other topics about this but I've tried searching and changing my codes so many times and nothing has worked...
I've had a MySpace DIV layout up for a couple of weeks that worked absolutely fine with Firefox and Safari. Today, I was on IE, looking at my layout when I noticed that only some of the DIV boxes were not in the right space and the width was different...not all of the DIVs but only some... Can anyone help me out? If you need codes just let me know. Thank you. |
|
|
![]() |
![]()
Post
#2
|
|
![]() Better than Firefly; aQuafly ![]() ![]() ![]() Group: Official Designer Posts: 75 Joined: Oct 2008 Member No: 689,363 ![]() |
when you make your divs try using this code, it's what I use, and it works in IE, Mozilla & Safari
CODE .div { position:absolute; top:140px; left:50%; margin-left:-300px;} just adjust the code to fit the name of the div, the width, the height, and adjust the positioning if need be just leave the left:50%; and the Margin-left: it's what makes the code work properly. Get back to me after you've tried the code to see if further help is required. |
|
|
![]() ![]() |