Simple Question = simple answer?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kirk

    #1

    Simple Question = simple answer?

    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.
  • Martin Honnen

    #2
    Re: Simple Question = simple answer?



    Kirk wrote:
    [color=blue]
    > 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.[/color]

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

    --

    Martin Honnen
    http://JavaScript.FAQTs.com/

    Comment

    • HikksNotAtHome

      #3
      Re: Simple Question = simple answer?

      In article <8506dbd5.03092 30314.6e581d53@ posting.google. com>, krkb@hotmail.co m
      (Kirk) writes:
      [color=blue]
      >A very simple question for anyone who knows their HTML tags and
      >attributes.[/color]

      Try asking in an HTML group. Or, a stylesheets group.

      comp.info.www.authoring.html
      comp.info.www.authoring.stylesheets
      [color=blue]
      >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?[/color]

      Set the bodys margin to zero.
      --
      Randy

      Comment

      Working...