WordPress.org

Ready to get started?Download WordPress

Forums

WP-Table Reloaded
Table Width (2 posts)

  1. sheritaber
    Member
    Posted 2 years ago #

    Hi Tobias,

    http://www.thedwgroup.com/wbenclegacy/

    My table is too big. I've pasted the code I'm using to try to achieve the following:

    table width 600px
    column width 150px

    The images in each cell are 150px

    This is what the code looks like:

    wp-table-reloaded-id-1 {
    background-color: #FFFFFF!important;
    }

    .wp-table-reloaded-id-1 {
    width: 600px!important;
    }

    .wp-table-reloaded-id-1 .column-1 {
    width: 150px;
    }

    .wp-table-reloaded-id-1 .column-2 {
    width: 150px;
    }

    .wp-table-reloaded-id-1 .column-3 {
    width: 150px;
    }

    .wp-table-reloaded-id-1 .column-4 {
    width: 150px;
    }

    Thank you so much for your help!

    http://wordpress.org/extend/plugins/wp-table-reloaded/

  2. TobiasBg
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    thanks for your question, and sorry for the delay.

    The reason for this is the padding in the table cells, that is added to the width of the images. If you really want the table to be 600px wide, you'll need to reduce the width of the images a little bit. You could also decrease the padding (to 0), but I don't recommend that here, as the text will then be too close to the edges of the table.

    Now, after looking at your page, this doesn't seem to be too much of an issue, as the table in general still looks correct?!

    Regards,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic