You aren't signed in     Sign In    Help

weird ie bug

weird ie bug by oni0n56.

Comments

view profile

Alex Buga  Pro User  says:

So.. where's the bug ? Maybe I can help you.

PS: Nifty interface man ;)
Posted 21 months ago. ( permalink )

view profile

sautot  Pro User  says:

Check out this link. I find this usually happens if I have comments in my XHTML code, especially after floated div's. I see that you are using comments to show the closing div tags. There are hacks explained in this link, but I usually find that the easiest (but unfortunate) solution is to just remove the comments altogether.

www.positioniseverything.net/explorer/dup-cha racters.html
Posted 21 months ago. ( permalink )

view profile

oni0n56 says:

thanks c2g.

thats real weird.. i thought comments were supposed to be invisible to the parsing..

i sorta fixed it up with overflows and hiding, but it was very messy.

thanks though, this really had me mystified last night.
Posted 21 months ago. ( permalink )

view profile

sautot  Pro User  says:

Yeah, this bug is a pain. I hardly use comments now in my XHTML code between divs just so that I don't have to deal with IE. Another habit that I have had to adopt is to use display: inline with all floated divs that have some value of horizontal margin - this is also for IE to get rid of the issue with it causing the margin space to double. To get around this one a lot of people will use padding instead of margin - but it becomes improper use of padding. Here is another Position is Everything link on the issue:

www.positioniseverything.net/explorer/doubled -margin.html
Posted 21 months ago. ( permalink )

Would you like to comment?

Sign up for a free account, or sign in (if you're already a member).

[?]
view photos Uploaded on October 21, 2007
by oni0n56

oni0n56's photostream

102
uploads

Additional Information

All rights reserved Anyone can see this photo

Add to your map