Tagged: , ,

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #712578

    Hello,

    I have tables created in Excel that I need to copy over to a page. The tables aren’t set up so that I can import them into the table widget, etc. I created a layout element, added in a text element for content, then I pasted the tables into place and when I’m in edit mode in Avia advanced layout, the tables look perfect. When I hit preview or publish, excessive padding is added to the tables that cannot be adjusted even with additional HTML coding, so my guess is that there is some sort of table padding default in place.

    How can I modify table row/cell padding? I have about 60 of these to paste into place.

    Thank you

    #712624

    Hi mascokristina!

    Can you please share us your URL, so we can give it a look and see how we can help?

    Thanks a lot

    Cheers!
    Basilis

    #713154

    http://www.warriortrainingsystem.com/test/2003-rosters/

    There is considerable spacing in the table that is not added by the code, nor is it visible when you are in edit mode of layout builder. I’ve tried adding HTML code to set the height of the cells and thats not working.

    This is the HTML text I have in the text cell:
    <table width=”303″ cellpadding=”0″>
    <tbody>
    <tr>
    <td colspan=”3″ width=”303″>2003 VALLEY JR WARRIOR ELITES</td>
    </tr>
    <tr>
    <td style=”height: 5px;”>1</td>
    <td style=”height: 5px;”>GAVIN</td>
    <td style=”height: 5px;”>KILEY</td>
    </tr>
    <tr>
    <td>2</td>
    <td>CHRIS</td>
    <td>O’GRADY</td>
    </tr>
    ETC UNTIL ALL THE ROWS ARE COMPLETE – the Extra 5px code was to test if that made a difference in height, it does not
    </tbody>
    </table>

    • This reply was modified 7 years, 5 months ago by mascokristina.
    #713155

    Not sure why it isn’t working to show the link…

    http://www.warriortrainingsystem.com/test/2003-rosters/

    • This reply was modified 7 years, 5 months ago by mascokristina.
    #713393

    Hi,

    This is the default CSS applied, please add it to Quick CSS and adjust to your liking. 9 is top/bottom and 12 is right/left:

    td {
        padding: 9px 12px;
    }

    Best regards,
    Rikard

    #713634

    Perfect. Thank you. Your support is amazing.

    #713853

    Hi,

    Thanks for the kind words and glad we could help :-)

    Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

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