We help IT Professionals succeed at work.

div aligns different in IE7

Andy6350
Andy6350 asked
on
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
Comment
Watch Question

LZ1
Top Expert 2011

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

Top Expert 2013

Commented:
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&
LZ1
Top Expert 2011

Commented:
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.

Author

Commented:
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
LZ1
Top Expert 2011

Commented:
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.

Author

Commented:
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 :)
Top Expert 2011
Commented:
I know for a fact, there are a lot of files to that plugin. That one may be a little bit harder to filter out. You may want to contact their support for help.  

Author

Commented:
I updated the plugin and it fixed all the errors.

Thanks for all your help