Sign in

Table full size

  • This topic has 5 replies, 2 voices, and was last updated 4 months, 1 week ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4262
    lele

    Hi,

    when I crate a table with WISIWYG editor with 100% width, in the Publii editor i see a correct size but when i see the web site on browser, the table width is not 100% but less.

    Thanks to everyone.

    #4263
    lele

    following the result

    Attachments:
    #4265
    Bob
    Support

    Add the 100% width to your table (e.g. via Custom CSS tool)

    table {
     width: 100%;
    }

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4268
    lele

    Hi Bob.
    thanks for your quick reply.

    Following the table HTML code:

    <table class="align-center" style="border-collapse: collapse; width: 100%;" border="0">
      <tbody>
        <tr style="height: 50px;">
          <td style="width: 35.0062%; height: 50px;">Lunedì</td>
        <td style="width: 32.6718%; height: 50px;">9:00 / 12:30</td>
        <td style="width: 50.1484%; height: 50px;">14:00 / 18:30</td>
      </tr>
      <tr style="height: 50px;">
        <td style="width: 35.0062%; height: 50px;">Martedì</td>
        <td style="width: 32.6718%; height: 50px;">9:00 / 12:30</td>
        <td style="width: 50.1484%; height: 50px;">14:00 / 18:30</td>
      </tr>
      <tr style="height: 50px;">
        <td style="width: 35.0062%; height: 50px;">Mercoledì</td>
        <td style="width: 32.6718%; height: 50px;">9:00 / 12:30</td>
        <td class="align-center" style="width: 50.1484%; height: 50px;">14:00 / 18:30</td>
      </tr>
      <tr style="height: 50px;">
        <td style="width: 35.0062%; height: 50px;">Giovedì</td>
        <td style="width: 32.6718%; height: 50px;">9:00 / 12:30</td>
        <td style="width: 50.1484%; height: 50px;">14:00 / 18:30</td>
      </tr>
      <tr style="height: 50px;"><td style="width: 35.0062%; height: 50px;">Venerdì</td>
        <td style="width: 32.6718%; height: 50px;">9:00 / 12:30</td>
        <td style="width: 50.1484%; height: 50px;">14:00 / 18:30</td>
      </tr>
      <tr style="height: 50px;">
        <td style="width: 35.0062%; height: 50px;">Sabato</td>
        <td style="width: 32.6718%; height: 50px;">9:00 / 12:30</td>
        <td style="width: 50.1484%; height: 50px;">---</td>
      </tr>
    </tbody>
    </table>

    you can see that 100% width of table is present. But the result is not a 100% table.

    #4272
    Bob
    Support

    Provide URL to the live example.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #4273
    lele

    The web site is not online yet…

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.