will monitor size affect the websites size

Discussion in 'HTML & Website Design' started by jagathdesigner, Jul 8, 2009.

  1. #1
    hello

    this is jagath and new to web designing. im now currently designing a website.And im designing in my 800x600 monitor...

    But if i open it in 21 monitor, my site goes to top left corner and does not fit to that monitor

    cud some one help me fixing this?
     
    jagathdesigner, Jul 8, 2009 IP
  2. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #2
    If you're going to used fixed width (in this case <800px), then think about centering the entire site - so that when people with resolutions higher than 800x600 will see it in the center of their monitor.

    If you want to scale your design to fit the entire screen, you should use percentages instead of pixels to set the width. e.g width:90%
     
    Kerosene, Jul 8, 2009 IP
  3. skzubair

    skzubair Well-Known Member

    Messages:
    514
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    135
    #3
    Yes, monitor size does affects the size website displayed in browser depending on the resolution of monitor. You have 2 options, either code the layout to be in center in all resolutions or code the design liquid so that it will expand automatically if the monitor resolution is high :)
     
    skzubair, Jul 8, 2009 IP
  4. b00tsauce

    b00tsauce Active Member

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    86
    #4
    As long as you design around 760px, you should be ok.
     
    b00tsauce, Jul 8, 2009 IP
  5. WebDizajnSajter

    WebDizajnSajter Peon

    Messages:
    31
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    jagathdesigner,

    In the first place monitor resolution directly affects web page width, if width screen resolution is 1,600 px and web page width is 800 px, there is blank space of 800 px horizontally, and vice versa or conversely, you have to scroll horizontally.

    Yes monitor size affects web page width but indirectly. Most people tend to set theirs desktop wide screen monitors of 22 inch to higher 1,600 x 1,200 px resolution, in that way most web pages are shorter horizontally. Conversely most people tend to set their 15 inch notebooks to lower resolution 1,024 x 768 px and if it is that case some web pages are longer horizontally and has to be scrolled.

    There is a solution

    Css
    #window { 
          width: 100%; 
    }
    Code (markup):
    Html
    <div id="window">and all code and tags put down here</div>
    Code (markup):
     
    WebDizajnSajter, Jul 9, 2009 IP
  6. ks.alam28

    ks.alam28 Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    use % to define the width of table cell or div
     
    ks.alam28, Jul 9, 2009 IP
  7. obadah

    obadah Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    ya use persent.
     
    obadah, Jul 9, 2009 IP