Good info.from Nigel.
Another method,
EXAMPLE:
..datatable{border:1px solid #000;
border-collapse:collapse;
}
..datatable td, .datatable th{border:1px solid #000;
}
Ernie. :)
>From: "Duckworth, Nigel" <[EMAIL PROTECTED]>
>To: "Conjurer" <[EMAIL PROTECTED]>,"Css-Discussion Group"
><[email protected]>
>Subject: Re: [css-d] How do you kill the cell spacing in table with CSS?
>Date: Mon, 16 Jul 2007 10:59:05 -0500
>
>
> > I have an example at http://www.omgma.com/
> > Under the third menu tab in the center of the page
> > - where it says Program Schedule (Below the "What's New")
> > I have a table.
>
> > I tried using border-collapse - but I am still getting
> > spacing between the cells. What is the CSS to get rid
> > of the spacing between table cells?
>
>You need to apply the border-collapse to TABLE (not the TD) then you can
>apply your borders to TD, something like this:
>
>table#sessions {
>padding: 5px !important;
>margin: 0 !important;
>border-collapse: collapse !important;
>border-spacing: 0 !important;
>}
>
>table#sessions td { border: 1px solid #092845; }
>
>
>Best,
>
>-Nigel
>______________________________________________________________________
>css-discuss [EMAIL PROTECTED]
>http://www.css-discuss.org/mailman/listinfo/css-d
>IE7 information -- http://css-discuss.incutio.com/?page=IE7
>List wiki/FAQ -- http://css-discuss.incutio.com/
>Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
_________________________________________________________________
Local listings, incredible imagery, and driving directions - all in one
place! http://maps.live.com/?wip=69&FORM=MGAC01
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/