how come it's easy to set the padding of a table(cellpadding='0') in css with the line padding:0; and there is no such thing as spacing:0; ... How does this work in CSS?
That's the first line he posted and then you repeat that But as far as I know there is no specific css command to give exactly the same effect as cellspacing, maybe you could it with margins.
ok, you could say that instead of *sigh* padding is sort of spacing. it sets a margin between the box and the content. (not the margin between elements) does this answer the question?
deques, try adding this to your stylesheets table { border-collapse: collapse; } td { margin: 0; } Code (markup):
The css equivalent is border-spacing. All modern browsers support the property. IE, (are you ready?) doesn't support it. For zero spacing, and merged cell borders, the {border-collapse: collapse;} is what you need. If borders are to be separate, you still need to use the cellspacing attribute for IE. cheers, gary