Make Site Fit Screen

Discussion in 'HTML & Website Design' started by Straightupimp, Jun 3, 2009.

  1. #1
    I Am Currently Using A Scipt & The Fixed Size Only Takes Up Like Half Of My Page.

    #container {
      width: 600px;
    }
    Code (markup):
    What Can I Put To Make It Fit Any Screen?
     
    Straightupimp, Jun 3, 2009 IP
  2. qazu

    qazu Well-Known Member

    Messages:
    1,834
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    165
    #2
    width: 100% probably
     
    qazu, Jun 3, 2009 IP
  3. Straightupimp

    Straightupimp Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yeah Already Done, But It Messes Up Other Parts Of The Page
     
    Straightupimp, Jun 3, 2009 IP
  4. morg

    morg Peon

    Messages:
    90
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    use the float property
    float: left/right or other;
     
    morg, Jun 3, 2009 IP
  5. Aaron700

    Aaron700 Active Member

    Messages:
    338
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    qazu was correct.

    
    #container
    {
      width: 100%;
    }
    
    Code (markup):
    you will have to go back and fix the other errors.
     
    Aaron700, Jun 3, 2009 IP
  6. 3drendering

    3drendering Peon

    Messages:
    260
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    He Try to do it...
     
    3drendering, Jun 4, 2009 IP
  7. karthimx

    karthimx Prominent Member

    Messages:
    4,959
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #7
    If you can please give the url. that will be easy for us to test and fix the issues.
     
    karthimx, Jun 4, 2009 IP
  8. moviesunited

    moviesunited Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    If you are designing a tableless xhtml website use auto, it auto adjusts to the width of the screen.

    For a minimum width use.

    min-width: 600px;
     
    moviesunited, Jun 5, 2009 IP
  9. Straightupimp

    Straightupimp Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    so if i just replace it with "min-width: 600px;" it will auto-fit the screen for any monitor?
     
    Straightupimp, Jun 5, 2009 IP