Gunlaug Sørtun wrote:
> Mahmoud Lababidi wrote:
>   
>> I'd like to set a DIV to be no bigger than the viewing height I have.
>> I've been told to set html,body{width:100%} and the div to
>> overflow:hidden with no avail. I appreciate any help I can get. Thank
>> you.
>>     
>
> Limiting the height to the viewport sounds like a strange requirement,
> but here you go...
> <http://www.gunlaug.no/tos/alien/test_07_1851.html>
> CSS is found in page-head.
>
> A more normal 100% tall solution is here...
> <http://www.gunlaug.no/tos/alien/test_07_1850.html>
> ...in case that's what's needed.
>
> regards
>       Georg
>   
Hi Georg & other listers,
In your first page test_07_1851.html 
<http://www.gunlaug.no/tos/alien/test_07_1851.html>
... you wrote "Reports about failures in any browser are most welcome..."
I don't know if you've had much reactions since 24.jan.2007, so maybe 
I'm repeating known stuff; but I did some experiments with this page in 
a couple of browsers (and after that, I didn't dare to look at the other 
page...). All is viewed under WinXP at 1024x768px. Here some results of:

*Georg's Jumping Cat Acid Test ;-) *

_Opera 9.10_
("Opera-zoom" - Zooming also horizontally.)

(a) If font enlarging/shrinking only: the cat image is always at the 
bottom. No change after reload or refresh.

If window resizing on the fly:
(b) with the "smaller window button" in the top bar right: cat stays at 
the bottom.
(c) in the smaller window of step (b): dragging the window bottom 
upwards: viewport stays the same = *vertical scrollbar* is coming! =-O

    screenshot OP(c)
    
<http://home.tiscali.nl/developerscorner/css-discuss/images/full-height-Opera9.10%28c%29.gif>

(d) in the smaller window of step (b): dragging the window bottom 
downwards: viewport stays the same = *viewport is clipped* at former 
screen height.

    screenshot OP(d)
    
<http://home.tiscali.nl/developerscorner/css-discuss/images/full-height-Opera9.10%28d%29.gif>

(e) refreshing or reloading after step (c) or (d): *jumping *in 
position, cat at bottom, viewport = actual screen height.
(f) in the smaller window of step (a): dragging a window side to the 
right or left: cat stays at the bottom.
(g) in the window of step (c) or (d): dragging a window side to the 
right or left: *jumping *into position too.
 

_Netscape 8.1.2 ("based on firefox")_
(a) If font enlarging/shrinking only: the cat is always staying at the 
bottom. No change after reload or refresh.

If window resizing on the fly:
(b) with the "smaller window button" in the top bar right: cat stays at 
the bottom.
(c) in the smaller window of step (b): dragging the window bottom 
upwards: cat stays at the bottom.
(d) in the smaller window of step (b): dragging the window bottom 
downwards: cat stays at the bottom.
(e) refreshing or reloading after step (c) or (d): no effect, cat stays 
at bottom.
(f) in the smaller window of step (a): dragging a window side to the 
right or left: *cat disappearing*! =-O

    screen NS(f)
    
<http://home.tiscali.nl/developerscorner/css-discuss/images/full-height-Nestscape8.1.2%28f%29.gif>

(f-2) in the window of step (f): refreshing or reloading brings the *cat 
back* (at the bottom).
(f-3) in the window of step (f): dragging the window bottom upwards or 
downwards: cat *reappearing* too.
(g) in the window of step (c) or (d): dragging a window side to the 
right or left: same *disappearing *cat as in (f).


_IE 6_
(a) If font enlarging/shrinking only: the cat is always staying at the 
bottom. No change after reload or refresh.

If window resizing on the fly:
(b) with the "smaller window button" in the top bar right: cat stays at 
the bottom.
(c) in the smaller window of step (b): dragging the window bottom 
upwards: cat stays at the bottom.

    screenshot IE
    
<http://home.tiscali.nl/developerscorner/css-discuss/images/full-height-IE6.gif>

(d) in the smaller window of step (b): dragging the window bottom 
downwards: cat stays at the bottom.
(e) refreshing or reloading after step (c) or (d): no effect, cat stays 
at bottom.
(f) in the smaller window of step (a): dragging a window side to the 
right or left: cat stays at the bottom.
(g) in the window of step (c) or (d): dragging a window side to the 
right or left: cat stays at the bottom.

_FF2 (2.0.0.1)_ > cache allowed!
(a) If font enlarging/shrinking only: the *cat is jumping* to a position 
just under the last paragraph! =-O

    screenshot FF(a)
    
<http://home.tiscali.nl/developerscorner/css-discuss/images/full-height-Firefox2%28a%29.gif>

(a-1) refreshing after step (a): cat *jumping *to bottom.
(a-2) reloading in original fullscreen or after step (a-1): cat *jumps 
*to last paragraph position!

If window resizing on the fly:
(b) with the "smaller window button" in the top bar right: cat *jumps 
*to last paragraph position!
(c) in the smaller window of step (b): dragging the window bottom 
upwards: cat stays at last paragraph position. (and disappears at small 
height windows)
(c-1) after disappeared cat in step (c): refreshing doesn't help, *cat 
is gone*!

    screenshot (c-1)
    
<http://home.tiscali.nl/developerscorner/css-discuss/images/full-height-Firefox2%28c-1%29.gif>

(c-2) if cat is down after (a-1): dragging the window bottom upwards: 
cat *jumps *to last paragraph position! (and disappears at small height 
windows)
(c-3) after disappeared cat in step (c-2): refreshing doesn't help, *cat 
is gone*!

(d) in the smaller window of step (b): dragging the window bottom 
downwards: cat stays in last paragraph position.
(d-1) if cat is down after (a-1): dragging the window bottom downwards: 
cat *jumps *up to last paragraph position!

(e-1) refreshing after step (c) or (d) at visible cat: as (a-1), cat 
*jumping *to bottom.
(e-2) reloading after step (c) or (d) at visible cat: cat stays in last 
paragraph position or *jumps *to last paragraph position.
(f) dragging a window side to the right or left: cat stays in last 
paragraph position or *jumps *to last paragraph position.

REM: if FF cache is disabled, then reloading is acting as refreshing.

- Everybody still here and confirming? ;-)
Conclusion so far (guess what): browsers are different.
Anyway, it seems I have to study more maths about combinations, 
permutations and multi-dimensional matrices (tables!), and probably a 
lot more about probability computing!  :-)

Greetings,
francky

PS: Help! - Don't conclude that IE is a cool browser...







______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to