IE6 Overflow Auto Problem

perfectmatch - July 24, 2008 - 23:26
Project:AD The Morning After
Version:5.x-1.2
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Great theme ..... love it!

However, have a problem with the IE6 overflow auto hack to show both sidebars. I have version 1.2 at the moment with the ie.css hack but it is not working. I have made sure that the block content is within the block width but to no avail. I have also checked the hack in version 1.3 and it looks the same.

Can you suggest anything else to look at?

Many thanks.

#1

perfectmatch - July 28, 2008 - 14:23

If anyone is having the same sort of issues, i have worked out what needs to be added to the ie6.css file:

#content,
#navbar,
#sidebar-left,
#sidebar-right,
#sidebar-left-inner,
.two-sidebars #right-container,
.sidebar-left #right-container,
.sidebar-right #right-container,
.sidebar-right #sidebar-right

{
_display: inline; /* display inline or double your floated margin! [1] */
_overflow: hidden; /* in ie6, overflow auto is broken [2] and so is overflow visible [3] */
_overflow-y: visible;
}

Hope this helps anyone else with the same issue.

#2

gpj - August 17, 2008 - 21:30

Thx for this post Perfectmatch!
I had the same problem when using this theme for upgrading my website.

When pasting your bold snippet into ie.css, at first I only got back the left column.

After some experimenting, to make it work, it turned out that you also HAVE to insert the comma at the end of the line:

#sidebar-right,

Relatively new to drupal.org. Suggest this hack is included in a new recommended revision of ad_the_morning_after theme.

Thanks again and good luck everybody.

#3

Ofer Morag - October 17, 2008 - 15:18

This code works perfectly!

Thanks for your help perfectmatch and gpj.

Be well,

OM

#4

fluidicmethod - June 13, 2009 - 22:34
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.