• Hi,

    With my website (https://www.warwick-builders.co.uk/contact-us/) I am struggling to get the elements to space out in what is a simple table with 2 columns and 1 row.

    If it were a html tag I would use cell spacing, but obviouls my site uses a css template. Now I can disable the table stuff in the template but that ruins the menu bar etc. at the top.

    Is there a way to create a different class for this table in my style sheet. I have not been able to work it out.

    can post my .css file if that helps.

    thanks

    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
  • You could try table.contactspace tr td {margin-right:30px;} or html within the table <table class="contactspace" cellpadding="20" cellspacing="10">

    Ultimately I would take the td for the form and put a class on it <td class="column1"> and then style that individual class table.contactspace tr td.column1 {margin-right:20px; padding-right:20px;} something like that.

    Thread Starter satinet

    (@satinet)

    Hi Ben,

    thanks for your help. I got it working to some degree. Changes to my “table.contactspace” thing did indeed change the table, but nothing at all I can do will make the table (or cells) accept any value from “border-spacing”. I didn’t turn off border-collaspe.

    In the end I got sick of it and just put another column in the table with a width of 50px, which is the spacing I wanted anyway.

    Tom

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Struggling with cell spacing’ is closed to new replies.