Morgain Well-known member Dec 9, 2011 #1 I used a table on an XF Page and the cellpadding had no effect. I got what I wanted by adding a border same colour as the background. But it was odd that Code: <table cellpadding="10"> had no effect. What am I expected to do here?
I used a table on an XF Page and the cellpadding had no effect. I got what I wanted by adding a border same colour as the background. But it was odd that Code: <table cellpadding="10"> had no effect. What am I expected to do here?
Paul B XenForo moderator Staff member Dec 9, 2011 #2 Add the padding to the cell, using a CSS class, like so: table_cell { padding: 2px 3px; } Then construct the table using the class, like this: <td class="table_cell">Contents</td> Upvote 0 Downvote
Add the padding to the cell, using a CSS class, like so: table_cell { padding: 2px 3px; } Then construct the table using the class, like this: <td class="table_cell">Contents</td>