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 2 of 2
  1. #1
    Regular Coder
    Join Date
    Mar 2012
    Posts
    168
    Thanks
    5
    Thanked 11 Times in 11 Posts

    Re-sizing window?..

    When I change the window size, everything is thrown out of place. Why? I'm trying to use good coding techniques. I don't have anything positioned exact, I'm confused. How can I make it so when it's a smaller window, you just have to scroll horizontally and such. Ahhhh.

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,639
    Thanks
    0
    Thanked 649 Times in 639 Posts
    Quote Originally Posted by KULP View Post
    How can I make it so when it's a smaller window, you just have to scroll horizontally and such.
    To force an annoying horizontal scroll simply make your content a fixed width in px rather than a fluid % width or elastic em width.

    Alternatively design the way the page is laid out so that the content reorganises itself to fit the available width.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.


  •  

    Posting Permissions

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