Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation Problem with browser resize

    Hello,

    I'm working on a personal site. My problem is that when you resize the browser it wraps the entire site instead of just allowing you to scroll horizontally to see the rest of it.
    You can see it at jarebmorgan.com and just resize the browser to see what I'm talking about.

    Any help would be appreciated.
    Thanks

  • #2
    Regular Coder
    Join Date
    Sep 2011
    Location
    Sweden
    Posts
    154
    Thanks
    1
    Thanked 22 Times in 22 Posts
    Wrap the site content in an element (a div for example) with a set width that is large enough for your purposes.
    Code:
    div#wrapper {width:1000px}

  • #3
    New to the CF scene
    Join Date
    Sep 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    That gives me the scrollbar all the time. When the browser is maximized the site displays fine. but if the user were to shrink the browser size down then it wraps the site out of proportion. Instead of allowing you to just scroll the site to see it normally. For example if you went to google and shrunk your browser size horizontally you are then given the scrollbar to scroll to see the rest of the site. My site just shrinks down and try to fit in whatever size the browser is instead of the site staying the same and you scroll to see the rest of it.

    I hope this makes since if not then go to my site and shrink the browser horizontally and see what it is doing.

    Thanks


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •