Log in

View Full Version : Div showing outside container in ie6 and ie7



azoomer
10-20-2009, 09:18 PM
Hi i am building a photogallerypage using som great scripts from dynamicdrive. Cmotion2 combined with ultimate fadeslideshow. Also using the chrome dropdown. It works exacly like i want it and looks fine in ie8 and the latest FF, safari and opera. I was disappointed to see that in ie7 and ie6 the cmotion division is placed half way outside the wrapper that was supposed to contain the two main elements. I have been looking for a way to fix it with no luck so far. Having read about different ie bugs i guess that is the problem. Maybe someone with more experience could point me in the right direction ? Please have a look if you have time. Here (http://azoomer.com/bangkokphotography) is the link to the test page. Any hints would be greatly appreciated. :)

azoomer
10-20-2009, 09:57 PM
Here is a screenshot of the page seen in IE7 where the right float is displaced outside the box. Hmmm ??
http://azoomer.com/bangkokphotography/IE7.jpg

azoomer
10-21-2009, 02:40 PM
Okay thanks anyway, but i found a solution that seem to work. I made a conditional statement like this:
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="css/IEhacks.css" />
<![endif]-->

Linking to this:
#motioncontainer{
padding-right:58px !important;
}
and that seem to do the trick. Not sure if its the right way to do it, but it looks like it is working. Any corrections are welcome.