Buzz: Questions & Answers

Tables and HTML tags

Follow
Answered
Melissa Moreno
How can I add padding to a cell in a table in the Buzz Rich Text Editor? What HTML tag would I use?

Comments (1)

Sort by
Jason Albertson

As far as I can tell, the quickest way is to use the padding style attribute on each cell that you'd like to have padded. That would look like this, and you'd just copy that italicized code below into each <td> tag if you wanted every cell in the table to have the same padding.

<table>
   <tbody>
      <tr>
         <td>Cell 1</td>
         <td>Cell 2</td>
      </tr>
      <tr>
         <td>Cell 3</td>
         <td style="padding: 15px;">Padded Cell (4 appears to have escaped his restraints)</td>
      </tr>
   </tbody>
</table>

Alternatively, you can set up an HTML content template to draw on CSS that automatically sets padding for tables, though that's a bit more involved.

0 Comment actions Permalink
Please sign in to leave a comment.