How to add borders to my cells
-
The table on my latest blog post has no vertical borders to divide the rows & create the cells I want. How do I add these borders?
The blog I need help with is: (visible only to logged in users)
-
How did you add the table? If using html table tag, then you can style individual td elements with border attribute.
This is neither complete nor the best markup and you can do much better if you have Custom Design upgrade, but this gives you an idea:
<table style=”border:1px solid;”>
<tr><th style=”border: 1px solid;”>Type</th><th>Earned</th><th>Spent</th></tr>
<tr><td style=”border: 1px solid;”>Earnings</td><td>109.22</td><td>60740.34</td></tr>
<tr><td style=”border: 1px solid;”>Spending</td><td>1456</td><td>345</td></tr>
<tr><td style=”border: 1px solid;”>Saving</td><td>500</td><td>350</td></tr>
</table>`
- The topic ‘How to add borders to my cells’ is closed to new replies.