CSS error for IE6.

djreep81 - March 4, 2008 - 18:31
Project:GeSHi Filter for syntax highlighting
Version:6.x-1.0-rc2
Component:Theming and Styling
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Description

There is no problem with firefox, however IE6 needs a workaround for the overflow to be made to scroll. This can be done, but it also effects firefox. I needed to add 4 lines (2 css properties in 2 places) to the geshifilter.css file.

This is a solution to correct the problem. If this is not addressed than it will behave in such that the block overlaps the menu on the side.

/* inline source code */
span.geshifilter {
display: inline;
padding: 0;
margin: 0;
border: none;

/*Added by djreep81 for IE6 bug*/
overflow:scroll;
width:95%;
}

/* block source code */
div.geshifilter {
display: block;
padding: 0.5em;
margin: 0.5em;
border: 1px solid #ccc;
background-color: #f8f8f8;
line-height: 1.3;

/*Added by djreep81 for IE6 bug*/
overflow:auto;
width:95%;
}

#1

djreep81 - March 4, 2008 - 19:54
Priority:critical» normal

#2

soxofaan - March 6, 2008 - 17:24
Status:active» postponed (maintainer needs more info)

could you post a screenshot (before and after) or something
I don't have IE in my toolbox for the moment

#3

soxofaan - August 18, 2009 - 09:43
Component:Code» Theming and Styling
Status:postponed (maintainer needs more info)» needs work

Please provide fix as a patch

Code need work as it may fix it for IE6 but it wrongly affects non sucking browsers (Firefox, Safari, Opera, ...) too

 
 

Drupal is a registered trademark of Dries Buytaert.