Controlling spacing between table columns

  • Author
    Posts
  • #721656

    Hi,

    I have added a table in html to my Get Secure page and attempted to create space between the two columns using cellspacing and cellpadding commands, as well as the table rule to draw gridlines around the two columns. It seems to ignore all of these statements when I view my page after making the update. Do I have this coded incorrectly or are these attributes just not recognized?

    Thank you…

    The blog I need help with is mybestretirementplan.com.

    #721824

    micahcooksey
    Member

    Can you post a link to the page you’re describing, or is it not published yet? I wasn’t able to find it on the site linked to your username.

    #721829

    Hi,

    Here is the link: http://mybestretirementplan.com/

    It is unpublished at this point…

    Please let me know if you still cannot access it.

    Thanks!!

    #721832

    micahcooksey
    Member

    Can you post the code you’re using in between <code> tags?

    #721901

    There are two possibilities. One is that the table formatting is not getting saved because you’ve entered some kind of code that is not allowed at WordPress.com (unlikely but possible) or the theme CSS is overriding whatever styling you’re trying to create with the table.

    To add space between the columns on the Get Secured page, try adding this CSS:

    #contact-form-112 {
        padding-left: 40px;
    }

    However, in general, I wouldn’t recommend using tables for layout. It’s not a best practice and can get pretty tricky to manage the code for them using the WordPress.com editor.

    #721904

    auxclass
    Member

    Amen on the Table can be a pain – I use them because I do a fair amount of how-to articles and I want pictures in one column and text in the other that matches to the picture.

    I goofed the other day and did something wrong with a copy and paste to add more rows – what a mess – took me a couple of hours to fix things. If you do use a lot of tables then copy and paste one that is close to what you want to save reinventing the wheel unless you are real good with html etc.

    #721906

    You are so right about managing the tables…hope I will rid myself of these once I become more knowledgeable about WordPress.

    Nonetheless, thank for the tip on spacing for the custom form. It worked great!!!

The topic ‘Controlling spacing between table columns’ is closed to new replies.