How to draw a table with borders in HTML
Author: Andy T.
Visited 2605,
Followers 1,
Shared 0
How to draw a table with borders in HTML
Example below the borders don't show. Can you help
<table border="1">
<tr>
<td>Tomato</td> <td>
<td>apple</td><td>
<td>Orange</td><td>
</tr>
<tr>
<td>Monday</td><td>
<td>Tuesday</td><td>
<td>Wednesday</td><td>
</tr>
</table>
Thank you Andy
Posted on the
Hi Andy!
I'm sorry but we can not help you with your personal HTML codes... maybe another user can suggest something?
Author
Can anyone out there help me, or is it just not possible to do something so simple with this program???
All I want is to put a border on a table in html.
<table border="1">
<tr>
<td>Tomato</td>
<td>apple</td>
<td>Orange</td>
</tr>
<tr>
<td>Monday</td>
<td>Tuesday</td>
<td>Wednesday</td>
</tr>
</table>
Thank You Andy
Hi Andy,
Let me help: please add the following code in the HTML and widget object
<table>
<tr>
<td>Tomato</td>
<td>apple</td>
<td>Orange</td>
</tr>
<tr>
<td>Monday</td>
<td>Tuesday</td>
<td>Wednesday</td>
</tr>
</table>
Then place the following in the Expert section- css code: table, tr, td{border: 1px solid black;}
You will then have to adjust it according to your needs.
May I ask why you don't use the table object?
Author
Thank you for your answer that works fine. The reason I don’t use table object, is that it is data from a database that I want in the table.
Thanks
Andy