Skip to content
Public Ticket #26112

HTML code for a table

Conversation thread

Morgane Charlier replied

Customer Reply

Perfect, it's working like I wanted. Thanks a lot !

PenciDesign Supporter replied

Staff Reply

Hi,

Please navigate to Appearance → Customize → Custom CSS, and then insert the following custom CSS code:

.post-entry td, .post-entry th {
    padding: 3px;
}

Change 3px to the spacing size you want to show.

Regards,
PenciDesign.



Morgane Charlier started the conversation

Conversation Start

Hello, 

I would like to be able to have less margin between the text and the line of the table. Here is the style code I have but when I modify the margin, nothing change. Do I need to modify or add something ?

    <style>
        table {
            width: 100%;
            border-collapse: collapse;
        }
        td {
            padding: 3px; 
            border: 1px solid #000;
        }
        tr.marge-ligne {
            margin: 5px; 
        }
    </style>

Want to join this conversation or access attachments? Sign in first.