DIV Layout Problem (browser related), layout looks different in IE and firefox |
DIV Layout Problem (browser related), layout looks different in IE and firefox |
Jul 23 2006, 01:07 PM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 125 Joined: Jun 2005 Member No: 156,341 |
Ok, my new div layout that I'm working is coming along great except for one small thing. The div's that I used to put text in all look great in IE...their positioning is spot on in my browser at least. In firefox, they're either 1 or 2 pixels off placement or they're too for the area I designed for them. Does anyone know why they look different in two browsers?
|
|
|
|
![]() |
Jul 26 2006, 11:10 AM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 125 Joined: Jun 2005 Member No: 156,341 |
This first piece is the header that i designed for the page. The first code is what i have in the style tags in the who i'd like to meet. It looks dead on in IE but in fire fox it looks like it's shifted downward more.
.background{ left:189px; top:-001px; position:absolute; height:163px; width:900px; z-index:1; } Then in the who I'd like to meet... <div class="background"><img src="http://i34.photobucket.com/albums/d119/a_forgotten_ghost/Web%20Graphics/resizedtopper2.gif"></div> |
|
|
|
wicked_pennywise DIV Layout Problem (browser related) Jul 23 2006, 01:07 PM
toyo loco Post a code to one of your divs. It happens becau... Jul 23 2006, 01:09 PM
wicked_pennywise ok here's an example of one of my divs...first... Jul 23 2006, 02:18 PM
toyo loco Try not to use margins and percents. That seems to... Jul 23 2006, 02:31 PM
wicked_pennywise so basically instead of having it say "margin... Jul 23 2006, 06:59 PM
toyo loco Yea and get rid of left:#%; Get rid of percents an... Jul 23 2006, 07:39 PM
wicked_pennywise that didnt work. it's still misaligned in fir... Jul 25 2006, 01:58 AM
toyo loco You know you have to realign it when you change it... Jul 25 2006, 03:46 AM
toyo loco Because of this:
top:-001px;
Use actual numbers. ... Jul 26 2006, 12:50 PM
wicked_pennywise tried that. the add is still out of place on my h... Jul 26 2006, 03:54 PM![]() ![]() |