Getting table to FULL scrn width

Discussion in 'HTML & Website Design' started by nugis, Feb 14, 2009.

  1. #1
    Heya, im currently stuck and unable to solve this issue.
    Im trying to make a simple html table to full sreen width.
    Unfortunately the width/height "100%" leave white spaces around and above the table.
    How`d u solve this problem?
     
    nugis, Feb 14, 2009 IP
  2. w0tan

    w0tan Peon

    Messages:
    77
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You need to use a bit of CSS to take away the margins from around the web page.

    Try using
    
    <style>
    body { margin: 0 }
    </style>
    
    Code (markup):
     
    w0tan, Feb 14, 2009 IP
  3. planemaniac

    planemaniac Peon

    Messages:
    49
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Or, you could set this as your <body> tag near the top of your page:

    <body style="margin:0;">
    Code (markup):
     
    planemaniac, Feb 14, 2009 IP