Home>Support>Table css code – help please

Table css code – help please

By Eli Langley, 9 years ago. Last reply by Magus, 9 years ago.

Hi I’ve put in css code for my table but I can’t figure out how to make the height of the lines less (ie less padding above & below the words).
My css code is
.entry-content table {
border: 2px solid #f7f5f5;
border-collapse: collapse;
border-spacing: 0;
font-size: 14px;
line-height: 2;
width: 100%;
}

.entry-content table td {
border: 2px solid #f7f5f5;
padding: 0.5em;
line-height: 2;
text-align: center;
}

URL: http://217.199.187.65/tregowanstives.co.uk/prices/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 2 months ago Private Message - Eli Langley

    This is a private message.

  2. 9 years, 2 months ago Magus
    Hi, I Work Here

    Hi Elise

    You currently have the table height set to a static value which will automatically adjust the height of the rows so they fill that height. Please edit the table properties and set the table height to auto.

    Let us know how you get on

    Magus

  3. 9 years, 2 months ago Eli Langley

    Thank you, that did the trick

  4. 9 years, 2 months ago Magus
    Hi, I Work Here

    Hi Elise

    You are welcome, Please let us know if you need any more help

    Magus

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More