DIV |
DIV |
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 |
|
|
|
![]() |
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. |
|
|
|
grizzlybearcody DIV Aug 11 2009, 06:00 PM
Mike Can you post a link to the page this is happening ... Aug 11 2009, 06:01 PM
grizzlybearcody Well it's just a DIV code I just wrote.
A band... Aug 11 2009, 06:11 PM
Mike Try removing the class and removing !important... Aug 11 2009, 06:40 PM
grizzlybearcody Nah, didn't work.
I've seen some DIV's... Aug 11 2009, 07:02 PM
grizzlybearcody Yep it works.
I figured that was the code. but I j... Aug 11 2009, 07:27 PM
Mike Alright, topic closed & moved. Aug 11 2009, 07:28 PM![]() ![]() |