CSS and IE on folder tree

_grizly - August 12, 2009 - 02:04
Project:IMCE
Version:6.x-1.x-dev
Component:User interface
Category:bug report
Priority:minor
Assigned:Unassigned
Status:needs review
Issue tags:CSS, display, folder-tree, IE
Description

My users found a folder display error (the error is with IE, not the module), when users have more folders in the tree than can be displayed in the folder div, using Internet Explorer it overflows over the log-view, despite the appearance of the scroll, firefox/opera etc works beautifully.. what with actual CSS compliance and all.

I used the following CSS to correct the behaviour, retaining the word "Navigation" and scrolling the rest:

/* IMCE and IE */
#navigation-wrapper{
overflow: hidden;
}
#navigation-tree {
position:inherit;
height:95%;
width:100%;
overflow:scroll;
}

If someone could test and confirm my findings, perhaps this could be my first contribution to a drupal module!
(I've tested it on IE 7 & 8, works OK, firefox now uses this CSS and it works good too.)

 
 

Drupal is a registered trademark of Dries Buytaert.