spacing around tables

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

    spacing around tables

    I have a table with the following starting line:
    <table width="100%" height="100%" border="0" align="center" cellpadding="0"
    cellspacing="0" background="dea d_rabbit.jpg">

    but there is still space around the outside of the table and the browser
    frame leaving a coloured gap! I s their a way to take the table right to the
    edge!??

    THX


  • Andy Fish

    #2
    Re: spacing around tables

    the spacing is probably outside the table. make sure you have

    <body topmargin="0" leftmargin="0" bottommargin="0 " rightmargin="0" >

    "DeathStorm " <jaa20@kent.ac. uk> wrote in message
    news:bljp8i$l6u $1@athena.ukc.a c.uk...[color=blue]
    > I have a table with the following starting line:
    > <table width="100%" height="100%" border="0" align="center"[/color]
    cellpadding="0"[color=blue]
    > cellspacing="0" background="dea d_rabbit.jpg">
    >
    > but there is still space around the outside of the table and the browser
    > frame leaving a coloured gap! I s their a way to take the table right to[/color]
    the[color=blue]
    > edge!??
    >
    > THX
    >
    >[/color]


    Comment

    • David Dorward

      #3
      Re: spacing around tables

      Andy Fish provided evidence that he needs to read
      <http://www.allmyfaqs.c om/faq.pl?How_to_p ost> when he typed:
      [color=blue]
      > <body topmargin="0" leftmargin="0" bottommargin="0 " rightmargin="0" >[/color]

      Or don't use invalid HTML and have:

      body {
      margin: 0;
      padding: 0;
      }

      in the style sheet (which, aside from being acceptable in a valid document,
      is better supported by browsers and doesn't need to be manually duplicated
      on every page).


      --
      David Dorward http://dorward.me.uk/

      Comment

      • EightNineThree

        #4
        Re: spacing around tables


        "Andy Fish" <ajfish@blueyon der.co.uk> wrote in message
        news:Doefb.7654 $y_2.63912167@n ews-text.cableinet. net...[color=blue]
        > the spacing is probably outside the table. make sure you have
        >
        > <body topmargin="0" leftmargin="0" bottommargin="0 " rightmargin="0" >
        >[/color]

        Please don't give any more advice if you don't have any idea WTF you're
        talking about


        --
        Karl Core

        At times one remains faithful to a cause only because its opponents do not
        cease to be insipid.
        Friedrich Nietzsche

        eightninethree AT eightninethree. com


        Comment

        Working...