Link to home
Start Free TrialLog in
Avatar of Andy6350
Andy6350

asked on

div aligns different in IE7

Hi,

I have a div with a class "content-home" which seems to appear differently in IE than chrome, although the widths and margins are all the same, i thought it might be a div thats not closed somewhere but i cant find it :/

Hope you can help

URL:http://www.bluebean.org.uk/rollerbanners/shop/roller-banners/barracuda

I have set the background color to grey to try and make it easier to see the div

Thanks
Avatar of LZ1
LZ1
Flag of United States of America image

There is a closing </div> tag right before the doctype in the source code.  Try removing that first and we'll go from there.

What exactly is the issue?  You will probably have to post a screen shot as I don't think most experts still anything as old as IE 7 still installed.


Cd&
The problem is that closing div tag at the top of the source. IE is going into Quirks. Once this is removed it looks great.
Avatar of Andy6350
Andy6350

ASKER

Someone else pointed the closing </div> tag at the top and i have now idea how it got there as when i look at the file its not there, im using wordpress and at the top of the PHP header file is no closing div tag :-/

It happens in IE8 too

I have attached a screenshot of the problem

Thanks,
Screen-shot-2011-12-05-at-21.06..jpg
Start by disabling your plug-ins 1 by 1. Then refresh each time. Once IE straightens out you'll know which plugin it is.  We can then assist you with killing that closing div tag.
Ok, I started disabling plugins 1 by 1 and when i disabled the woocommerce plugin the closing div at the top disappeared!

So its that plugin thats putting it there, now i need to get rid of it :-/ any ideas.

Thank you very much :)
ASKER CERTIFIED SOLUTION
Avatar of LZ1
LZ1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I updated the plugin and it fixed all the errors.

Thanks for all your help