Log in

View Full Version : Div is displaced to the bottom with IE 8



jimmy2times
03-30-2009, 08:16 AM
I have a page with two a google add on the left and a div that is displaced by 170px to the right of the ad. This works well on all browsers except IE8. The DIV on the right hand side appears below the ad. I can't seem to figure it out.

Here is the link http://www.myepray.com (http://www.myepray.com) - The only thing is that you will need to create an account in order to see this because it is a non-issue on the default page. Thanks for your help.

Lpe04
03-31-2009, 03:37 AM
If there is too much padding it could be pushing the div down. Try setting the width lower and see what happens.

Cheers,

jimmy2times
04-01-2009, 04:39 AM
You're right. This made a difference. I did 2 things. reduced the padding to a negative number -10px and also reduced the width to 72% instead of 80%. The surprising aspect of this for me is that it works on all other browsers except IE8 and also that when you look at it with the naked eye, you see lots of space available and no reason why it would wrap.