align table cell (td) content in bulma

Viewed 1716

Bulma has very nice table layout, however I'm struggling to find how to horizontally align table data cell (<td></td>) content.

Simply adding

<td align='center'>in the middle</td>

Does not work.

Suggestions?

1 Answers

You can use the Bulma typography helpers to align text in table cells (and otherwise).

In this instance <td class="has-text-centered"> is probably what you are after.

Note there are also has-text-right, has-text-left, etc.

Related