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

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Thu Jul 6 17:21:19 CEST 2006

Sebastian Mendel a écrit :
> Marc Delisle schrieb:
>> Sebastian Mendel a écrit :
>>> Marc Delisle schrieb:
>>>> Sebastian Mendel a écrit :
>>>>> 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!
>>> a bugfix for about more 50% of the people, just remember all this posts 
>>> about font size - do you think no one will blame on us for the scrollbars?
>> Yes of course we have to do our best about this.
>> Do you have a test machine with IE 7 beta3 installed? I would be curious 
>> about the scrollbar bug on this version?
> it is the same with IE 7
You mean IE 7 beta3!

Oh sh*t :)

If we have to choose between having the horizontal scrollbar bug and to 
force a vertical scrollbar, I would go with forcing the vertical one; I 
think that very often, users are in the situation where a real vertical 
bar has to be shown anyway.


More information about the Developers mailing list