IE6 bug(confused).

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

IE6 bug(confused).

Post by JellyFish »

Why is this happening on my website and on IE6 only?

Link. What bug is causing this to happen in IE6?

That's pretty much it. I'd like to keep the question simple: "Why is this happening in IE6?".

Thanks for reading. I'd so much appreciate any help with this. :banghead:
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: IE6 bug(confused).

Post by matthijs »

Could you also describe the problem? (so I won't have to open IE ;), my doctor told me to do that as little as possible)
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: IE6 bug(confused).

Post by califdon »

JellyFish wrote:Why is this happening on my website and on IE6 only?

Link. What bug is causing this to happen in IE6?

That's pretty much it. I'd like to keep the question simple: "Why is this happening in IE6?".

Thanks for reading. I'd so much appreciate any help with this. :banghead:
I only have IE7, but I don't see any difference between that and FF.

Keeping the question simple is good, but not defining "this" is not.
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Re: IE6 bug(confused).

Post by JellyFish »

You both are right.

IE7 works fine, but in IE6 I get a display bug with my tooltips. It's as if the content of the tooltips are shoved off to the right side or the page, out of site, and the container div spans it's width to the width of the entire page. That's my attempt at describing IE6' oddity, the thing is, I don't even know what's happening myself. If you could I'd recommend you opening the link up in IE6 yourself, getting a visual would be worth more value then my description.

And with that said, I'll be right back to edit this with a picture.

EDIT: Okay I figured it out. IE6 acts like this whenever I set the height of "#theToolTip .description" to 55px or any other pixel value. SOOOOOOOOOO... Why is this happening and how can I fix this problem without removing the "height: 55px;" declaration?
Attachments
See what happens when I mouse over.
See what happens when I mouse over.
foo.png (145.56 KiB) Viewed 501 times
nickvd
DevNet Resident
Posts: 1027
Joined: Thu Mar 10, 2005 5:27 pm
Location: Southern Ontario
Contact:

Re: IE6 bug(confused).

Post by nickvd »

JellyFish wrote:how can I fix this problem without removing the "height: 55px;" declaration?
Conditional Comments
User avatar
JellyFish
DevNet Resident
Posts: 1361
Joined: Tue Feb 14, 2006 7:18 pm
Location: San Diego, CA

Re: IE6 bug(confused).

Post by JellyFish »

So be it conditional comments.

But there is one other problem, not with IE6 but with opera. In the latest version of opera some tooltips are whacked, as if it's just out of randomness. I don't know why some tooltips in opera would be unnecessarily wider.

Oh how I wish there was a universal firebug for every browser. :roll:
matthijs
DevNet Master
Posts: 3360
Joined: Thu Oct 06, 2005 3:57 pm

Re: IE6 bug(confused).

Post by matthijs »

I can't take the time to figure it out exactly (takes time with these bugs) but I would suggest trying different things to make sure elements "have layout". Sometimes adding something like height, width, display:block, etc suddenly makes IE behave.

Setting a height to #thetooltip probably triggers "hasLayout" for that element. Maybe it's parent elements need hasLayout as well.
Post Reply