Scrollbar - Page Layout Issues - Using FF or Opera

Post non-phpwcms related topics here - but I don't want to see "hey check this or that other cms". Post if you have a point or worthwhile comment, don't post just to increase you post count!
Post Reply
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Scrollbar - Page Layout Issues - Using FF or Opera

Post 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
Last edited by jsw_nz on Sat 22. Jul 2006, 07:22, edited 1 time in total.
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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
User avatar
jsw_nz
Posts: 907
Joined: Fri 2. Apr 2004, 02:42
Location: New Zealand

Post 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
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

Glad it worked... because I'm envious of your Twin 1600x1200's! :wink:
Post Reply