Duckworth, Nigel wrote:
>> 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; } 

Indeed, but unfortunately in Win IE border-collapse: collapse does not 
override cellspacing. Border-spacing is the cellspacing equivalent in 
CSS, but browser support is poor AFAIK.  Thus, if you absolutely MUST 
have no space between cells, you will also need to add cellspacing="0" 
in the table tag itself.

HTH
Mark
______________________________________________________________________
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/

Reply via email to