![]() |
|
#1
|
|||
|
|||
|
When using * maximize screen mode, FireFox is Pixel shifting the website to the left. due to the Scroll bar opening on some pages
Is there a way to set up the page so it won't react this way? * (please note: maximize screen mode is not the same as F11 full screen)
__________________
Sadicus |
|
#2
|
||||
|
||||
|
This is really a browser question and not a Xara software one.
There is no way you can prevent scroll bars appearing on any normal site because it is 100% dependent on the visitors screen resolution and/or preference for a maximised window or not. The only way to prevent scroll bars shifting your page contents is to disable them via javascript, which may make some of your page unreachable by some visitors.
__________________
Designer 6 features summary | I apoligoze for and typographicsal ir smelling errors | XU |
|
#3
|
||||
|
||||
|
Would forcing the scrollbar help ?
I think this version works in the 5 major browsers
__________________
Some drink from the fountain of knowledge ... I only gargled. |
|
#4
|
||||
|
||||
|
I use a placeholder named <head> with the text below, then have it repeat on all pages:
<style type="text/css"> html { min-height: 101%; } </style> This makes a vertical scroll bar whether it's needed or not. I like it because it works for me and is simple. Your results may vary ![]() Jim |
|
#5
|
||||
|
||||
|
Both the same solutions to draw scroll bars regardless, good workaround
![]() Note that IE6/7/8 doesn't really need this, it always draws the scrollbar *area* regardless whether the handle is needed or not. You can see this in the Xara web preview window.
__________________
Designer 6 features summary | I apoligoze for and typographicsal ir smelling errors | XU |
|
#6
|
||||
|
||||
|
Thats the code I use :-) It seems to be the only reliable (simple) method since FF3.6 - 100% height plus an additional pixel for the bottom margin seemed to work fine till then
__________________
Some drink from the fountain of knowledge ... I only gargled. |
|
#7
|
||||
|
||||
|
This seems to work better on current versions of browsers, There is no vertical scrolling movement on the shorter pages and the drag bar itself itself is also missing, which looks cleaner. I have not tested it on older versions though.
The code is:- <style type="text/css"> html { overflow-y: scroll; } </style>
__________________
Some drink from the fountain of knowledge ... I only gargled. |
|
#8
|
|||
|
|||
|
That is a good workaround! thank you.
__________________
Sadicus |
|
#9
|
|||
|
|||
|
This text is over the yellow placeholder and I'm not sure if it's part of the code needed to make the Force Scroll Bar work. It has place holder code associated with it.
The text: "Force Scroll Bar Placeholder positioned off page and named <head> Contains style code. Can be set to repeat." has this code: <style type="text/css"> html { min-height: 100.5%; margin-bottom: 1px; } </style> The Placeholder has this code: <style type="text/css"> html { overflow-y: scroll; } </style> 1) Are both codes needed? (the code associated with the text, and the placeholder ) or only the placeholder code? 2) Does the placeholder need to overlap the page a little bit? (like when using tweak tools)
__________________
Sadicus |
|
#10
|
||||
|
||||
|
Hi Sadicus
The text over the placeholder is for instruction only and has no effect on the operation of the code. The first version of the code is one that I have used for a while and seems to work well for multiple browsers and versions thereof. The second one is a much tidier solution but I have not tested it in anything other than the current versions of the main browsers. Only one method is needed and the placeholder needs to be off page. As I understand it a placeholder positioned on the page will include the code in the <body> section of the page code instead of the <head> section although naming it <head> may override this.
__________________
Some drink from the fountain of knowledge ... I only gargled. |
![]() |
| Bookmarks |
| Tags |
| force scrollbars |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fake scroll bar | johne53 | Web Designer / Xtreme / Designer Pro | 3 | 26 April 2009 07:13 PM |
| Scroll Bar in Popup Layer | StevenWWinters | Web Designer / Xtreme / Designer Pro | 1 | 20 March 2009 01:47 PM |
| Colour line scroll bar handle | sledger | Dear Xara.. | 2 | 23 January 2009 08:01 AM |
| Code Slinger John R: IE Scroll bar colour? | Egg Bramhill | Off-Topic Chat | 7 | 18 October 2004 09:33 AM |
| Draggable Scroll Bar | Stinger | Macromedia Flash | 1 | 23 August 2000 12:03 AM |