WebSite X5Help Center

 
Andy T.
Andy T.
User

How to draw a table with borders in HTML  en

Autor: Andy T.
Visited 2303, Followers 1, Udostępniony 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
4 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Incomedia
Samantha M.
Incomedia

Hi Andy!

I'm sorry but we can not help you with your personal HTML codes... maybe another user can suggest something?

Czytaj więcej
Posted on the from Samantha M.
Andy T.
Andy T.
User
Autor

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

Czytaj więcej
Posted on the from Andy T.
Incomedia
Samantha M.
Incomedia

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?

Czytaj więcej
Posted on the from Samantha M.
Andy T.
Andy T.
User
Autor

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

AndySmile

Czytaj więcej
Posted on the from Andy T.