Inserting customized table in a page/post

  • Author
    Posts
  • #620800

    webertbrito
    Member

    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</th>
    </tr>
    <tr>
    <th class=”dia-cabecalho” style=”height:40px; color: #ffffff;” bgcolor=”#3d85c6″ >Sábado – Noite</th>
    <th class=”dia-cabecalho” style=”height:40px; color: #ffffff;” bgcolor=”#3d85c6″ >Domingo – Manhã</th>
    <th class=”dia-cabecalho” style=”height:40px; color: #ffffff;” bgcolor=”#3d85c6″ >Domingo – Noite</th>
    </tr>
    <tr>
    <td class=”dia” style=”text-align: center; width: 160px; height: 60px; background-color: #C6E2FF; color: #366092; font-weight: bold;”>
    <!– ******************************* Sábado Noite ********************************* –>
    <p>Culto às 19:30 horas</p>
    </td>
    <td class=”dia” style=”text-align: center; width: 160px; height: 60px; background-color: #C6E2FF; color: #366092; font-weight: bold;”>
    <!– ******************************* 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>
    <td class=”dia” style=”text-align: center; width: 160px; height: 60px; background-color: #C6E2FF; color: #366092; font-weight: bold;”>
    <!– ******************************* 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</th>
    </tr>
    <tr>
    <th class=”dia-cabecalho” style=”height: 40px; color: #ffffff;”>Sábado – Noite</th>
    <th class=”dia-cabecalho” style=”height: 40px; color: #ffffff;”>Domingo – Manhã</th>
    <th class=”dia-cabecalho” style=”height: 40px; color: #ffffff;”>Domingo – Noite</th>
    </tr>
    <tr>
    <td class=”dia” style=”text-align: center; width: 160px; height: 60px; background-color: #c6e2ff; color: #366092; font-weight: bold;”><!– ******************************* Sábado Noite ********************************* –> 

    Culto às 19:30 horas</td>
    <td class=”dia” style=”text-align: center; width: 160px; height: 60px; background-color: #c6e2ff; color: #366092; font-weight: bold;”><!– ******************************* Domingo Manhã ********************************* –> 

    EDB às 09:00 horas

    Culto às 10:00 horas

    Após o culto: um delicioso churrasco</td>
    <td class=”dia” style=”text-align: center; width: 160px; height: 60px; background-color: #c6e2ff; color: #366092; font-weight: bold;”><!– ******************************* 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!!!

    #620896

    webertbrito
    Member

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

    #620897

    webertbrito
    Member

    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…

    #620902

    webertbrito
    Member

    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.