WordPress.org

Ready to get started?Download WordPress

Forums

table cell padding and spacing does not work (9 posts)

  1. rehtaeh
    Member
    Posted 2 years ago #

    Hey there

    I'm having lots of trouble with table cell padding and spacing to my wordpress pages.

    I have tried the following plug ins:
    tinymce advanced and FCK editor

    I have used both of these to add the tables and set the cell padding and spacing to how I want it to look in the page editor, and when I 'preview changes' the tables NEVER have any cell padding or spacing - no matter what I do, it never seems to add these settings to the table. In the page editor I CAN see the cell padding and spacing, but not in the 'published page'.

    I have also tried this code and set the cell padding to 20 and still nothing changes, all the cells are butted up next to each other with no padding or spacing.
    <table style=”text-align: center; height: 152px;” border=”1″ cellspacing=”20″ cellpadding=”20″ width=”390″>

    <tbody>

    <tr style=”background-color: #e9e9e9; font-weight:bolder;”><td>Month</td>
    <td>Mobile Networks</td>
    <td>Month</td>
    <td>Mobile Networks</td>
    </tr>

    <tr>
    <td>Argentina</td>
    <td>Movistar</td>
    <td>Argentina</td>
    <td>Movistar</td>
    </tr>

    <tr>
    <td>Argentina</td>
    <td>Movistar</td>
    <td>Argentina</td>
    <td>Movistar</td>
    </tr>

    </tbody>

    </table>

    Can someone pleeeeaaase help me! I'm starting to go crazy working this out!

    Thanks

  2. deepbevel
    Member
    Posted 2 years ago #

    Please post a link and we'll see what can be done.

  3. rehtaeh
    Member
    Posted 2 years ago #

    thank you :)

    it's just a test page at the moment, where I've tried adding 2 different tables. One html code, and another via FCK editor plugin.

    http://www.consciouscreations.com.au/?page_id=6

    Both tables have cell padding and spacing added in their settings but don't show up in the 'published' page, only in the page editor.

  4. rehtaeh
    Member
    Posted 2 years ago #

    sorry - that link didn't work in the last post

    here it is again

    http://www.consciouscreations.com.au/?page_id=6

  5. deepbevel
    Member
    Posted 2 years ago #

    I'm sorry, I did work with it a bit but I just can't remember how to get spacing between cells. Everything I tried had no effect. Cells are nasty in wp.

  6. deepbevel
    Member
    Posted 2 years ago #

    I tried three more examples, I can't seem to specify a cell width and also get consitant spacing, always seems to be effected by the amount of text, which I would expect should only make the cell longer, not blow out the spacing) But I get even spacing if the cells are the same width, (no width specified). I've been through this before too, moved on to plugins, still had issues. Sorta forgot why I don't use tables in wp, good refresher.

  7. rehtaeh
    Member
    Posted 2 years ago #

    Hey deepbevel

    thanks very much for looking into this for me...

    can you suggest another way to achieve this type of "table" layout in WP without this cell spacing hassle?

    How else can this be achieved without using tables?

    Thanks!

  8. deepbevel
    Member
    Posted 2 years ago #

    Many people use a plugin called WP table reloaded. I remember a long time ago I tried it, didn't work for me at first but I started getting the hang of it but then had no need for it. The tables I ended up needing were simple, all cells the same in even columns and rows.

    Concider using a good html editor like Dreamweaver or Coffeecup visual site designer to make the table.
    Also at one point I found a really good free online table making site, I remember having success with that. I quickly found this one, not the one I remember using but looks similar.
    html_table_generator

    Good luck to you:)

  9. Geert J
    Member
    Posted 1 year ago #

    I have the same problem as described here. When I switch over in IE-9 to the compatibility mode, te padding and space are there! It is independent of the theme that I use. Nor on the browser, i tested with chrome IE-9 and firefox. So can i made the conclusion that WordPress generate a non compatible code? Any suggestions?

Topic Closed

This topic has been closed to new replies.

About this Topic