Page "positioning"

k_kolrud77

New Member
Messages
2
Reaction score
0
Points
0
Im building a website with six different pages. All the pages have a scrollbar except for one, which isn't long enough. The page without the scrollbar is therefore placed a few mm further to the left then the other pages, ruining the overall impression.

Anyone have any good fixes for me? Im fairly new to this game, so don't shoot me if this turns out to be really easy.
Im not shure which part of the code you want to look at, so let me know and I will paste it.
 

contact.rbg61

New Member
Messages
2
Reaction score
0
Points
0
However it is very hard to identify the actual problem without viewing the website or pages. All I wonder is it should not happen with the scroll bar unless you don't try to play with it. If you are also trying to control the scroll bar with any script, you should remove the scroll bar control from your script.

If possible you should post a link or your html codes so that any one can identify your problems.
 

essellar

Community Advocate
Community Support
Messages
3,295
Reaction score
227
Points
63
There's not a lot you can do, other than forcing the scroll bar to appear on your "rogue" page by, say, inserting a transparent image or an empty element with a defined height. It's a matter of cross-browser and cross-platform differences -- you can't know the exact width of the scroll bar, so you can't make allowances for it for pixel-perfect presentation. Using CSS alone you can force both scrollbars with overflow: scroll;, but the horizontal scrollbar is going to be confusing to your users (especially given that the "thumb" is not going to appear if the content isn't wide enough to overflow the viewport) and, well, it's a bit ugly.

I wouldn't worry about it. What if you fix that one page and somebody goes to your site with a really high-rez monitor pivoted to vertical (with the screen taller than it is wide)? Leave it be -- it's working the way it's supposed to.
 
Top