开发者

DIVs repeating in IE8

开发者 https://www.devze.com 2023-03-13 03:17 出处:网络
Here is the source: http://store.bionoricausa.com/index.aspx All good in FF and Mac browsers. In IE8 developer mode, the 3 divs immediately below div id=\"footerIn\" are shown being recreated a sec

Here is the source:

http://store.bionoricausa.com/index.aspx

All good in FF and Mac browsers.

In IE8 developer mode, the 3 divs immediately below div id="footerIn" are shown being recreated a second time, resulting in a repeating footer.

This is with Compatibility Mode 开发者_Python百科off.

When it is on, the repeating problem is gone, but the header logo is missing.

This page is a port of a WordPress site as home page to a Network Solutions e-commerce site. As you probably know, NS auto-generates a container and table around the header, body, and footer content, interfering with any of your own containers that you may have used in another CMS. I suspect this is most of my problem, as I've had to develop workarounds to display parts of the page properly to match the original WP site. But no matter how I rearrange the footer code, I can't get IE8 to stop doubling it.

Any help would be GREATLY appreciated. Thanks in advance!


Without going through all your markup, I can say I've seen this kind of problem before on IE and it's typically caused by: a tag that wasn't closed, tags that weren't nested propertly, or an extraneous closing tag somewhere. That's where I would start first.


It was the fact that there was a search form in the footer tag - Network Solutions creates a form, container, and table to put the whole page in, so the search form that was part of the page I imported from WordPress wouldn't work (you can't have a form within a form). That is what IE objected to. The nested form caused all the footer tags to go haywire in DW, but DW didn't highlight the form as being a problem at all, just all the divs around it...

Thanks kinakuta for your help.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号