Sent by Philippe Wittenbergh on 13 June 2002 00:12
On Thursday, June 13, 2002, at 12:52 , Caio Chassot wrote:
> Works on IE/win but leaves one extra scrollbar. IIRC, when you
> remove that
> bar by adding overflow:auto to html, it ceases working on IE/mac.
>
>>
>> This one, based on Caio's file, works in IE 5.14 and Mozilla
>> 1.1alpha, but not in Opera5 - all Mac OS X
>> <http://www.l-c-n.com/lab/c_fixed.html>
>>
>> (not tested on Win IE)
You're correct. Then we'll have to use a hack to hide that rule
from IE5 mac. I tried this one:
<http://www.sam-i-am.com/testsuite/css/mac_ie5_hack.html>
but that only works for classes and id's.
The @media hack works:
@media all { html {
overflow: auto}
}
See it here
<http://www.l-c-n.com/lab/c_fixed2.html>
Philippe