Need help? Check out our Support site, then


Inserting customized table in a page/post

  1. 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!!!

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

  3. 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...

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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags