[Phpmyadmin-devel] font sizes, css, IE quirks mode, scrollbars

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Wed Jul 5 20:44:17 CEST 2006


Sebastian Mendel a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Marc Delisle schrieb:
>> Sebastian Mendel a écrit :
>>> Hi,
>>>
>>> at the moment phpMyAdmin forces IE into quirks mode, what makes most of
>>> the current CSS problems
>>>
>>> removing the XML declaration enables standard compliance mode for IE,
>>> what makes IE to behave 'more' towards the CSS standards
>>>
>>> but this also reveals the horizontal/vertical scrollbar bug
>>>
>>> IE displays a unneeded/unwanted horizontal scroll bar as soon as it
>>> display a vertical scrollbar, whether the horizontal scrollbar is
>>> required or not.
>>>
>>> there is no satisfying solution on the web (most just completely remove
>>> the horizontal scroll bar or display them always)
>>>
>>>
>>> i have figured out some possible solutions:
>>>
>>> http://sebastianmendel.de/ie_scrollbar_bug/frameset.htm
>>>
>>> the first two uses conditional CSS, the first seems to be make problems,
>>> the second seems to work fine - just the space between window-border and
>>> content is now between scrollbar and window and not between scrollbar
>>> and content
>>>
>>> the third is a (bot complete) JavaScript solution
>> Sebastian,
>> forcing a vertical scrollbar solves this IE horizontal scrollbar problem:
>>
>> html {
>> 	overflow-y: scroll;
>> }
>>
>> What do you think about it?
> 
> yes, this is also one of the mentioned solutions i do not prefer, so we
> would have always a scrollbar in navigation frame!
> 
> of course this is not a problem at all, but
> 
>  - it looks ugly
>  - it wastes spaces, especially in the navigation frame
> 
> but it is also a more 'cleaner' and smaller solution ... i don't know

Yes it's cleaner, smaller, less code to maintain and understand... 
especially since we are doing it as a bug workaround!

Maybe we could force this vertical scrollbar only if we detect IE 6? I 
say IE 6 because they might fix this for IE 7?

Marc





More information about the Developers mailing list