Forums

Tables Within WP Posts? (9 posts)

  1. VinceL
    Member
    Posted 3 years ago #

    Greetings,
    I've got a couple of blogs, and I've been trying to put tables within my posts for quite some time. Finally, I figured out how to make it work, but the text is too close to the table when it is aligned left. I've tried all the HTML tags I know to put some space in there, but none work. Could you please visit one of my sites (http://abortion.capitolannex.com), look at the first post there (it has a table) and tell me what I can do to get some space between the table and tex?

  2. Chris_K
    Administrator
    Posted 3 years ago #

    That url scares me... What you might try is looking at your style sheet and see about adding some margins or padding for your <p> tags.

  3. VinceL
    Member
    Posted 3 years ago #

    The site is just news about court cases related to abortion. Sorry for the scare. However, I have no idea what you mean by adding margins for <p> tags, or how to do so.

    You can also look at http://www.capitolannex.com, as a couple tables are used there as well.

  4. Chris_K
    Administrator
    Posted 3 years ago #

    oh sorry - meant in your CSS style sheet.

  5. moshu
    Member
    Posted 3 years ago #

    Man, that site takes ages to download/display... mainly waiting for some stuff from wondir.com or whatever. So many things on ONE page that basically you don't see anything :)

    OK, I don't see any tables anywhere. Can you just give a link to that specific single post, so we don't need to wait minutes (on high speed cable connection!) for the site?

    And to your question: margins, padding and other similar things are added to the stylesheet.
    e.g.
    table {
    margin-right: 7px;
    border: solid 2px red;
    }

  6. VinceL
    Member
    Posted 3 years ago #

  7. moshu
    Member
    Posted 3 years ago #

    For some mysterious reason you have there 2 tables (why?) but adding this to your stylesheet should work:
    table {
    margin-right: 7px;
    }

    You can play with that 7px value as you wish.

    One thing I don't understand, though.
    If you ask for help and a solution is offered WHY don't you try it before posting back...?

  8. VinceL
    Member
    Posted 3 years ago #

    Because this is 100% greek to me. Where in the sylesheet do I put this? just anywhere?

  9. Chris_K
    Administrator
    Posted 3 years ago #

    look in your style sheet and see if you already have a "table" in there. If you do, add the one line. If you don't, use what moshu suggested and add it any old place.

Topic Closed

This topic has been closed to new replies.

About this Topic