Simple Question = simple answer?

Discussion in 'Javascript' started by Kirk, Sep 23, 2003.

  1. Kirk

    Kirk Guest

    A very simple question for anyone who knows their HTML tags and
    attributes.

    Is there an atribute that I can use to hide the white space around a
    table which I have used to fill an entire page?

    I have already tried the following which are un-associated with this
    white space:
    CellSpacing="0"
    CellPadding="0"
    Border="0"

    The table just does not seem to fill the entire page despite having it
    set to 100% width and height.

    Cheers.
    Kirk, Sep 23, 2003
    #1
    1. Advertising

  2. Kirk wrote:

    > A very simple question for anyone who knows their HTML tags and
    > attributes.
    >
    > Is there an atribute that I can use to hide the white space around a
    > table which I have used to fill an entire page?
    >
    > I have already tried the following which are un-associated with this
    > white space:
    > CellSpacing="0"
    > CellPadding="0"
    > Border="0"
    >
    > The table just does not seem to fill the entire page despite having it
    > set to 100% width and height.


    You are probably looking for CSS
    <style type="text/css">
    body { margin: 0; }
    </style>

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/
    Martin Honnen, Sep 23, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. suzy
    Replies:
    3
    Views:
    332
  2. Robocop
    Replies:
    2
    Views:
    443
    Andrew Hobbs
    Feb 22, 2004
  3. Daniel Frey

    Simple Question - Simple Answer?

    Daniel Frey, Dec 28, 2004, in forum: XML
    Replies:
    4
    Views:
    836
    Daniel Frey
    Jan 12, 2005
  4. Greg Corradini

    Simple mx.ODBC prob seeks simple answer

    Greg Corradini, Apr 6, 2007, in forum: Python
    Replies:
    0
    Views:
    316
    Greg Corradini
    Apr 6, 2007
  5. Steve Holden
    Replies:
    1
    Views:
    403
    Dennis Lee Bieber
    Apr 6, 2007
Loading...

Share This Page