|
Posted by Mark on 12/02/07 09:58
Jonathan N. Little wrote:
> Defacta wrote:
>> On 1 déc, 19:10, "Jonathan N. Little" <lws4...@centralva.net> wrote:
>>> Adrienne Boswell wrote:
>>>> Gazing into my crystal ball I observed Defacta
>>>> <vincent.margue...@gmail.com> writing in news:e150f302-18a8-46ce-8bce-
>>>> f2ec71388...@a35g2000prf.googlegroups.com:
>>>>> Hi !
>>>>> How can make the scrollbar be displayed on Firefox even if there is
>>>>> not enough content to justify a scrollbar.
>>>>> With IE, the scrollbar is displayed at all times, I would like Firefox
>>>>> to do the same.
>>>>> I am not talking about a frame or an iframe but about the main page.
>>>>> Maybe there is an option to specify in the tag <body>
>>>>> Thanks,
>>>>> Vincent.
>>>> That could be confusing for a visitor. If there is a scroll bar, the
>>>> user might want to try to scroll for more content - and if there is
>>>> none? Please don't mess with the UA.
>>> Agree. Why would you want to replicate this stupid behavior of IE? But
>>> is possible if you feel so compelled.
>>>
>>> body { overflow: scroll; }
>>>
>>> --
>>> Take care,
>>>
>>> Jonathan
>>> -------------------
>>> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
>>
>> Yes it works fine with Firefox but now I have troubles with IE 6 which
>> display some scrollbars inside the page,
>> You can have a look here:
>> http://boxfly.free.fr/test/test_scroll/
>>
>> Does anyone know why IE 6 display some scrollbars inside the page when
>> I had "overflow: scroll;" to the style of the body ?
>
> Well you do have a mish-mosh of XHTML and HTML, in valid markup.
>
> http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fboxfly.free.fr%2Ftest%2Ftest_scroll%2F
>
> [Invalid] Markup Validation of http://boxfly.free.fr/test/test_scroll/ -
> W3C Markup Validator
>
>
> So as browsers try to "digest" all this they can come to different
> conclusions. First start with valid markup, fix the errors, then see if
> you get cross browsers consistency.
This valid enough for ya?
http://www.lester1.eclipse.co.uk/test/
For anyone unable to test in IE6:
http://www.lester1.eclipse.co.uk/test/ie.gif
Navigation:
[Reply to this message]
|