• How do I use CSS to add padding to the cells of tables in WordPress, such as this one?

    http://www.at.giffmex.org/?p=163

    I’d like to add CSS to the Stylesheet and have all tables have a specific amount of table padding. I tend to paste tables from MS Word, don’t know if that causes a wrinkle or not.

    Dave Gifford

Viewing 1 replies (of 1 total)
  • CSS

    table.yourclass {padding:0;margin:0}
    table.yourclass td {padding: 10px}

    HTML

    <table class="yourclass">
    <tr>
    <td></td>
    </tr>
    </table>

    etc etc……

Viewing 1 replies (of 1 total)

The topic ‘Padding for table cells, how to’ is closed to new replies.