[thelist] CSS Equivalent for cellspacing, cellpadding and border

Jovial Nomad jovialnomad at gmail.com
Mon Jan 23 19:55:15 CST 2006


Hi all,

My HTML code currently uses <table cellspacing=0 cellpadding=0
border=0><tr><td>... in several places on certain pages. I'd like to
reduce the page size by moving cellspacing, cellpadding and border
into CSS. An earlier thread on this board suggested <table
class=x><tr><td padding=0> with .x{cell-collapsing:collapse} defined
in CSS. While this produces the same result for the newer browsers, it
doesn't work for older browsers such as IE4. Does anyone know a
backward compatible way to move cellspacing, cellpadding and border
attributes in table into CSS?

Thanks in advance,

Jim



More information about the thelist mailing list