HighDots Forums  

Re: container moves when scroll appears

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: container moves when scroll appears in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
JP. Baker
 
Posts: n/a

Default Re: container moves when scroll appears - 02-14-2008 , 04:42 AM






In article <54c241c0-a12f-4f33-84fd-3c1f1d306a79 (AT) m34g2000hsf (DOT) googlegroups.com>,
<warth33 (AT) hotmail (DOT) com> wrote:
....
Quote:
So, in short: two pages with the exact same code, will place a div in
two different positions inside the browser, depending on if the
scrollbars exists or not.

Well, maybe this is not a problem, but only the cause of an incorrect
style? Do ou think there is a solution to this?
If you want scrollbars to be always visible you can try asking for them:

html {overflow: scroll}

or CSS3 html {overflow-y: scroll}
--
John P Baker


Reply With Quote
  #2  
Old   
warth33@hotmail.com
 
Posts: n/a

Default Re: container moves when scroll appears - 02-15-2008 , 01:38 AM






On 14 Feb, 11:42, cc... (AT) bristol (DOT) ac.uk (JP. Baker) wrote:
Quote:
In article <54c241c0-a12f-4f33-84fd-3c1f1d306... (AT) m34g2000hsf (DOT) googlegroups.com>,*<wart... (AT) hotmail (DOT) com> wrote:

...



So, in short: two pages with the exact same code, will place a div in
two different positions inside the browser, depending on if the
scrollbars exists or not.

Well, maybe this is not a problem, but only the cause of an incorrect
style? Do ou think there is a solution to this?

If you want scrollbars to be always visible you can try asking for them:

* * * * html {overflow: scroll}

or CSS3 html {overflow-y: scroll}
--
John P Baker
Yes, that is what I was looking for. It works. Great! Thank you!


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.