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

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Thu Jul 6 16:50:47 CEST 2006


Sebastian Mendel a écrit :
> Marc Delisle schrieb:
>> 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!
> 
> 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?

> 
> but i have no problem with this - i don't use IE and both workarounds 
> affect only IE
> 
> 
>> 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?
> 
> yes, with conditional css, like i have it on the above mentioned site 
> too - check the different scrollbar positions in FF and IE
> 
> 






More information about the Developers mailing list