How do I apply only horizontal cell spacing to a HTML table? -
i found out need use cellspacing attribute in table, wondering if work horizontally. don't want vertically spread out, messes layout of entire page.
a better way setting cellspacing="10" use css. can use following css target table's cell spacing.
table { border-spacing: 10px 0; } the first value specifies horizontal spacing, , second value specifies vertical spacing.
Comments
Post a Comment