RE: Zero Margins on Block Elements?

by "Chris Montgomery" <monty(at)astutia.com>

 Date:  Mon, 8 Nov 1999 09:36:09 -0600
 To:  "HWG CSS Style List" <hwg-style(at)hwg.org>
 In-Reply-To:  astra
  todo: View Thread, Original
Thanks for the reply, Dave. Unfortunately this won't work because the
Table tag doesn't support the margin style.  I guess I'll just stick
with my original solution.

Cheers,

Chris Montgomery
 _____________________________________________________________________
| astutia.com - Astute e-business applications & web site development |
|http://www.astutia.com  monty(at)astutia.com  ICQ 7381282  BeeCall monty|
| 210-490-3249/888-745-7603   Fax 210-490-4692    Mobile 210-823-1624 |
|      Authorized Reseller for Allaire and NetObjects Software        |
|_ Find a Job in the San Antonio Job Network http://www.sajobnet.com _|


>-----Original Message-----
>From: owner-hwg-style(at)hwg.org [mailto:owner-hwg-style(at)hwg.org]On Behalf
>Of David Meadows
>Sent: Sunday, November 07, 1999 4:29 PM
>To: HWG CSS Style List
>Subject: Re: Zero Margins on Block Elements?
>
>
>Don't set any margin at all in the body tag. If you don't set
>a body margin,
>the body will take the browser's default margin.
>
>Then, on your top and bottom tables, set the margin to zero.
>That would be
>like this:
>
><TABLE style="margin-left: 0; margin-right:0">
> ... table goes here...
></TABLE>
>
>This over-rides the browser's default for the table element
>(only) and sets
>the table flush with the edge of the browser window.
>
>--
>David Meadows [ Technical Writer | Information Developer ]
>DNRC Minister for Littorasy * david(at)heroes.force9.co.uk
>

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA