WebSite X5Help Center

 
Andy T.
Andy T.
User

How to draw a table with borders in HTML  en

Autor: Andy T.
Visitado 2298, Seguidores 1, Compartilhado 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

Publicado em
4 RESPOSTAS - 1 CORRIGIR
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?

Ler mais
Publicado em de 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

Ler mais
Publicado em de 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?

Ler mais
Publicado em de 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

Ler mais
Publicado em de Andy T.