Table cells with space between them

Posted by Naor on Stack Overflow See other posts from Stack Overflow or by Naor
Published on 2010-12-25T00:34:34Z Indexed on 2010/12/25 0:54 UTC
Read the original article Hit count: 207

Filed under:
|

I want to make the foollowing but with CSS classes - as simple as can be:

<table cellspacing="0" cellpadding="0">
    <tr>
        <td style="color:red;text-decoration:underline;padding-right:50px;>cell1</td>
        <td style="color:red;text-decoration:underline;>cell2</td>
    </tr>
    <tr>
        <td style="color:red;text-decoration:underline;padding-right:50px;>cell3</td>
        <td style="color:red;text-decoration:underline;>cell4</td>
    </tr>
</table>

What is the best way to do it?

© Stack Overflow or respective owner

Related posts about html

Related posts about css