When viewing a node in IE6 the sidebar gets pushed below the content div.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

webchick’s picture

Hi, Michael. Thanks so much for testing D7 in IE! We certainly need that help. :)

Is it possible for you to post screenshots of what you're seeing? That might make it easier for someone to debug and fix.

michaelverdi’s picture

FileSize
108.61 KB

Sorry - must have forgot to attach the screenshot. Also, I just posted this and two other issues that I plan on tackling in the morning.

Seems like I'm not able to attach a screenshot so here's a link just in case:
http://img.skitch.com/20100209-mty8w4hsuggwmj6gesnyyarj3r.png

Todd Nienkerk’s picture

Assigned: Unassigned » Todd Nienkerk

Looking into it.

willmoy’s picture

Project: Drupal core » Bartik
Version: 7.x-dev »
Component: other » Code
Issue tags: -Bartik

Now we have a bartik project, moving there.

Or we could do http://ie6update.com/ in core? ;-)

theresaanna’s picture

Version: » 7.x-1.x-dev

I cannot replicate this in IE6. Is anyone else able to?

stephthegeek’s picture

Status: Active » Needs review

Confirmed. This is only happening on nodes with the 640px wide images in node content. Between the image width, column widths, margins and padding, there appears to be 5px too much for IE6 in the main column, which is causing the sidebar to drop. I would probably recommend floating the sidebar right instead of left, removing the margin-right on this column, and reducing the padding-right on #content from 20px to 15px, but I'm not sure if that is in line with other width/spacing considerations that have been already made in this theme.

Related: #721630: content widths do not add up

jensimmons’s picture

Assigned: Todd Nienkerk » Unassigned

I'm assigning this back to unassigned. Anyone feel free to take a look.

johnvsc’s picture

Assigned: Unassigned » johnvsc

My first inclination is to declare

div {
overflow:hidden;
}

in layout.css.

This would solve this issue and any others. The bigger problem here is when someone uploads an image that is greater than 640 ... it seems that letting the theme bork itself over such an innocent mistake would be counter-intuitive. The blame would be upon the end user "oh, look at that, i made my image too big" rather than "OH MY GOD I BROKE THE SITE" <-- not realizing that, well, really your image is just too big.

This happens every time i ingest a tumbler feed into a panels pane. A solution there is to resize the image to the block width ... but that remains in appropriate here.

Thoughts?

Jeff Burnz’s picture

Not sure about something so pervasive as div {overflow: hidden;} - thinking of modules like Nice Menus, Superfish etc - anything that does dynamic menus could be borked by this (I know the Superfish menu module will be).

At a pinch we could use :

#content {
  overflow: hidden;
}

Put this in ie.css, however it will apply to IE7 which does not need it, so I suggest if we're going to use this we need an IE6 specific stylesheet.

AFAIK there is no other workaround for the "expanding box bug" in IE6.

Jeff Burnz’s picture

OK, so rolled a patch following my own advice.

This patch adds an ie6.css file with one lousy declaration in it (see #9).

Frankly, if it were up to me I would probably use the underscore hack and jam it in ie.css...

bleen’s picture

Priority: Normal » Critical

we need to fix this before officially submitting Bartik for consideration

Jacine’s picture

Assigned: johnvsc » Unassigned

bump for testers :)

PS - Un-assigning johnvsc because anyone with IE can do this.

aspilicious’s picture

I will be be the nice guy ;) ==> xp mode ==> testing

aspilicious’s picture

FileSize
35.83 KB

can't reproduce this :s. Don't know if thats a good thing :D

Screenshot!

aspilicious’s picture

Discussed with jacine, retesting this...
Maybe need a background picture

aspilicious’s picture

FileSize
308.07 KB

Ok after a second test round I could reproduce error.
I applied the patch and the original issue is gone.
But the image I added got rescaled in a strange way.

(See screenshot)

Jeff Burnz’s picture

It didn't get re-scaled, it go cut off - overflow: hidden;

For such an ancient browser and a very difficult bug to deal with this has to be acceptable, there's only so much hand holding a theme can do for end users, if they are silly enough to put in content that is too big and want to support IE6.

aspilicious’s picture

Status: Needs review » Reviewed & tested by the community

I agree, stupid IE6

bleen’s picture

Dear Microsoft,

IE6 needs to die.

Love Bleen

P.S. RTBC++ (I saw the same behavior as aspilicious)

Jacine’s picture

Status: Reviewed & tested by the community » Fixed

Committed! thanks ;)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.