Page 1 of 1

Scrollbar - Page Layout Issues - Using FF or Opera

Posted: Sat 22. Jul 2006, 05:30
by jsw_nz
As the saying goes - you learn something new everyday (hopefully - hehe) . I work with dual monitors, each at 1600x1200 - so while developing i can sometimes have a browser window that shows 'lots of pixels' for a given page. I noticed this yesterday and tested today - which is....

When content fits inside the browser window (no scrollbar required in this case) FF and Opera do not render 'an empty scrollbar' as IE does - and as a result - (again in the case of FF and Opera) the window 'reinterprets the center and shifts the layout left a wee bit --- argh

I prefer IE logic on this one since when deving off localhost and jumping around from page to page - when FF or OP enconters 'fitable content' the layout shifts left noticably - to be honest i thought this was an error in my code - until I did an array of tests (several hours) - determining that this is default behavior of FF and OP - I prefer IE's logic - which eliminates the shift left - which from a designer's point of view seems a wee bit quirky.

Might be a workaround - but i doubt it - just defaults for these browsers.

oh well....
still learning :D

Posted: Sat 22. Jul 2006, 06:33
by DeXXus
Yeah, looks like the problem goes "back a ways", in time:

2005
http://www.webmasterworld.com/forum83/8000.htm

2003
http://archivist.incutio.com/viewlist/css-discuss/45651

Posted: Sat 22. Jul 2006, 07:00
by jsw_nz
thanks DeXXus - Wowa

so just added:

Code: Select all

html {height : 100.1%;}
to my css and alas fixed (as a hack):

guessing webmasterworld
has a compliant JS solution,
but alas me_no_have_subscription();

Anyway for the time being - i can live with above

BIG THANKS - for your encyclopedic (as in Webster's) knowledge!

cheers DeXXus!
:D :D

Posted: Sat 22. Jul 2006, 07:27
by DeXXus
Glad it worked... because I'm envious of your Twin 1600x1200's! :wink: