Inserting customized table in a page/post

  • Unknown's avatar

    When I try to insert some html code at the page editor it just dont work.

    For example this code:

    ‘<div align=”center”>
    <table class=”Programação” border=”0″>
    <tr>
    <th colspan=”3″ style=”height:40px; color: #ffffff;” bgcolor=”#3d85c6″>JANEIRO 2011
    </tr>
    <tr>
    <th class=”dia-cabecalho” style=”height:40px; color: #ffffff;” bgcolor=”#3d85c6″ >Sábado – Noite
    <th class=”dia-cabecalho” style=”height:40px; color: #ffffff;” bgcolor=”#3d85c6″ >Domingo – Manhã
    <th class=”dia-cabecalho” style=”height:40px; color: #ffffff;” bgcolor=”#3d85c6″ >Domingo – Noite
    </tr>
    <tr>

    <!– ******************************* Sábado Noite ********************************* –>
    <p>Culto às 19:30 horas</p>
    </td>

    <!– ******************************* Domingo Manhã ********************************* –>
    <p>EDB às 09:00 horas</p>
    <p>Culto às 10:00 horas</p>
    <p>Após o culto: um delicioso churrasco</p>
    </td>

    <!– ******************************* Domingo Noite ********************************* –>
    <p>Culto às 19:30 horas</p>
    </td>
    </tr>
    <tr>’

    When I insert it and change to the visual tab the table is totaly weird. So I come back to the html tab and the code have changed to this:

    ‘<div>
    <table class=”Programação” border=”0″>
    <tbody>
    <tr>
    <th style=”height: 40px; color: #ffffff;” colspan=”3″>JANEIRO 2011
    </tr>
    <tr>
    <th class=”dia-cabecalho” style=”height: 40px; color: #ffffff;”>Sábado – Noite
    <th class=”dia-cabecalho” style=”height: 40px; color: #ffffff;”>Domingo – Manhã
    <th class=”dia-cabecalho” style=”height: 40px; color: #ffffff;”>Domingo – Noite
    </tr>
    <tr>

    <!– ******************************* Sábado Noite ********************************* –> 

    Culto às 19:30 horas</td>

    <!– ******************************* Domingo Manhã ********************************* –> 

    EDB às 09:00 horas

    Culto às 10:00 horas

    Após o culto: um delicioso churrasco</td>

    <!– ******************************* Domingo Noite ********************************* –> 

    Culto às 19:30 horas</td>
    </tr>
    <tr>’

    Even the html tags were not closed properly!!! :S

    Anyone now why is this? And how can I insert a table in a page/post??

    Thanks for any help!!!

  • Unknown's avatar

    There are some   that didn’t show up at the second code block.

  • Unknown's avatar

    There are some & n b s p ; that didn’t show up at the second code block.

    Posting again because the & n b s p ; insists not to appear…

  • Unknown's avatar

    I uploaded an image with the table!!! In my computer the table in a separate file works just fine!!

  • The topic ‘Inserting customized table in a page/post’ is closed to new replies.