1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

body width

Discussion in 'HTML & Website Design' started by prowler, May 4, 2005.

  1. #1
    I all i am a bit stuck on this what is the best way to setup my site people have said <table width="100%" full page is fine but how many users still use there screen size @ 800x600 so is it best to set my <table width="80%"

    cheers

    example code

    </head>
    <center> <body leftmargin="2" topmargin="2" marginwidth="2" marginheight="2">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    </head>
     
    prowler, May 4, 2005 IP
  2. NetMidWest

    NetMidWest Peon

    Messages:
    1,677
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #2
    100% is 100%, no matter what screen resolution.
     
    NetMidWest, May 4, 2005 IP
  3. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #3
    Won't it just take up 80% of screen regardless of size meaning a longer line showing on 1024 x 728 resolution than on 800 x 600?

    Shannon
     
    Smyrl, May 4, 2005 IP
  4. prowler

    prowler Guest

    Messages:
    189
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    no i did a test on my other comp and set the screen at 800x600 and the width 80% and it fit fine but then i tried the 100% and it went of screen

    i will keep it at 80%
     
    prowler, May 4, 2005 IP
  5. City2

    City2 Peon

    Messages:
    542
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ya 100% fits all. But I am exactly like you I prefer a bit of space on the side and the content centered.
     
    City2, May 4, 2005 IP
  6. NetMidWest

    NetMidWest Peon

    Messages:
    1,677
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I can't duplicate the results. Are you sure you are closing tags properly? What browser? Firefox does show things a bit differently.

    What might help you see where your tables are is to make border=1, and if you have more than one, color them differently.

    Try this:

    <center> <body leftmargin="2" topmargin="2" marginwidth="2" marginheight="2">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff stuff
    </tr>
    </table>
    </body>
     
    NetMidWest, May 4, 2005 IP
  7. prowler

    prowler Guest

    Messages:
    189
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Cheers for that 1 question how does my site look with firefox
     
    prowler, May 4, 2005 IP