• Resolved Tantrik

    (@tantrik)


    Hi there,

    I LOVE the plugin but for some reason I simply can’t get my tables to move AT ALL. Any sort of code just isn’t doing anything to them and all I need to do is center them!

    I have tried the FAQ code without any luck and have looked through all posts regarding and none of the solutions are workng for me. My tables don’t want to budge!

    http://www.breakwatersurf.com

    help would be greatly appreciated!

    https://wordpress.org/plugins/tablepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for this is that you are putting elements into the table that have a fixed size (by the plugin where they are coming from). A table will always be as big as the content in it requires (this is slightly different behavior to most other elements on a web page).
    So, you would have to adjust the sizes of those elements in the cell, likely with CSS.

    Now, from what I can see, you are using the table to show two images next to each other. This is not a good use case for tables, as tables should only be used to present tabular data, in modern web design.
    For pure styling/layout purposes, it’s better to use other HTML elements like <div> wrappers.

    Regards,
    Tobias

    Thread Starter Tantrik

    (@tantrik)

    Awesome – Thanks tobias!!
    Mark this fixed! Amazing plugin!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Centering not working ( tried all sorts of css )’ is closed to new replies.