Click to See Complete Forum and Search --> : Duplicating last word IE7


aj_nsc
02-23-2008, 12:25 PM
I've heard of this crazy bug before, something about HTML comments between floated divs, but I removed all the comments in my file and the bug still exists. Does anyone know how I can fix the bug on this page? (IE7 only)

http://www.stjohnslimos.com/parasail/contact.php

By the way, the place that I am talking about is the word "week" under Office Hours.

WebJoel
02-23-2008, 05:32 PM
For some reason, your "<p>"s are overlapping.... I don't understand this, -the code validates. Is there a 'height' statement on one of these "<p>"s? See screenshot image, note the 'block outlines' of the elements...

aj_nsc
02-24-2008, 11:28 AM
You are correct webjoel, but that has nothing to do with the repeating word....at least it was repeating. I created a 'fix' just by adding a few &nbsp; to my code so IE7 will repeat those characters instead of actual letters. It's the IE7 repeating character bug and this is the only workaround I came across

I used overlapping p's (the top one is floated left with a negative top margin) to create a fluid column using my three background images for my content area (the top, a repeating middle, and the bottom)....it took me a while to come up with this way but I actually thought it was quite a clever way of doing things because position: absolute on the first p would not have given me the correct organization that I was looking for.....anyway, I worked around my problem, thanks for having a look.

WebJoel
02-24-2008, 12:08 PM
Whenever I hear about a "IE problem" having to do with how some element appears visually on a page, there is one of three things usally going on: -missing or incomplete !doctype, floats, or a negative margin... IE seems to sometimes choke on negative margins. Not always, but often enough.

Anyway.. I didn't check your code too closely, -just skimmed it late last night. Just recovering from a disk-related probem myself (Linux-boot drive failing to recognize the XP-drive as 'bootable'). :( -Fixed (somewhat) now...