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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Screen sizes problem?

    Hi people. I'm new to this forums, and I need a little bit of help with making my site's homepage fit for all screensizes..
    So I coded a layout to fit my computer, which is a Netbiook. One of my friends tested the site and set it was totally off for him because of the different screen sizes.
    I want to be able to make it viewed as the same site for all different screen sizes of computers (not mobile, though). Is that possible? What should I do?
    If anyone needs more info just ask..as I said, I'm new to these forums so I'm not sure what to include in my post.
    Thanks!

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    Essentially you have two choices. You can make your site fluid so it will expand or contract to take up the available width of the screen - Coding Forums itself does this. Or you can set a fixed width to the site taking into consideration the range of screen widths - the de facto standard is to fit the width of 1024px screens - like, for example, the BBC News site which has a width of 976px.

    If you post a link to your page it may be possible to offer more specific advice.

  • #3
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry for the late reply but the link is here.

  • #4
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    I'd start by removing this width which is giving the enormous horizontal scroll:

    Code:
    #topbar {
        background-color: #09C405;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        height: 5px;
        padding: 10px;
        width: 990%;
    }


  •  

    Posting Permissions

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