erdy — 2011-09-20T11:39:17-04:00 — #1
I have recently got abit carried away developing the website linked below in Safari.
When I've checked it in ie6 I noticed afew problems.
Unfortunately what seems to be happening is one of my container divs called #main_content (with dotted green border) is being repeated below itself in ie6.
Please help if you can.
Thanks in advance
gvre — 2011-09-20T12:35:20-04:00 — #2
erdy — 2011-09-20T12:51:01-04:00 — #3
I've taken them all out and its the same unfortunately!
gvre — 2011-09-20T13:00:53-04:00 — #4
As I can see, you have many comments in your code.
erdy — 2011-09-20T14:37:57-04:00 — #5
Those comments are from a Dreamweaver Template. How many websites have those and work in ie6?
Surely there is something else wrong here?
stomme_poes — 2011-09-21T03:43:56-04:00 — #6
Duplicate content bug is caused mostly by two things:
In IE6 (not sure about IE7?) you can cause them by having a comment coming directly after a float, or a comment in between floats. It has to do with IE confusing comments with real tags.
For now, remove ALL comments or you'll never know if they were the cause.
However I've managed to trigger duplicate content bug in IE (6 and 7) by having a setup where I had block elements next to inline or inline-block elements.
Hm, a shame, I don't seem to have the screenshots on my server anymore. I may make another. But here's what I encountered and how I fixed it.