+ Reply to Thread
Results 1 to 3 of 3

Thread: Page "positioning"

  1. #1
    k_kolrud77 is offline x10Hosting Member k_kolrud77 is an unknown quantity at this point
    Join Date
    Nov 2011
    Posts
    2

    Page "positioning"

    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.

  2. #2
    contact.rbg61 is offline x10Hosting Member contact.rbg61 is an unknown quantity at this point
    Join Date
    Dec 2011
    Posts
    2

    Re: Page "positioning"

    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.

  3. #3
    essellar's Avatar
    essellar is offline Community Advocate essellar has a spectacular aura about
    Join Date
    Feb 2010
    Location
    Toronto, Ontario, CA
    Posts
    1,153

    Re: Page "positioning"

    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.
    “Beware of bugs in the above code; I have only proved it correct, not tried it.” --Donald Knuth
    "It was as if its architects were given a perfectly good hammer and gleefully replied, 'neat! With this hammer, we can build a tool that can pound in nails.'" -- Alex Papadimoulis (on TheDailyWTF.com)

+ Reply to Thread

Similar Threads

  1. "Default Web Page" and "69.175.120.122" in A record of DNS
    By gdebojyoti.mail96 in forum Free Hosting
    Replies: 9
    Last Post: 06-25-2011, 02:48 AM
  2. Replies: 4
    Last Post: 01-27-2011, 02:10 PM
  3. Replies: 3
    Last Post: 01-11-2011, 12:01 PM
  4. Replies: 1
    Last Post: 05-08-2010, 03:17 AM
  5. Replies: 7
    Last Post: 10-01-2009, 05:16 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers