Reputation: 7649
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?
Upvotes: 4
Views: 4233
Reputation: 10725
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.
Upvotes: 14