WordPress.org

Ready to get started?Download WordPress

Forums

TablePress
[resolved] Tablepress max-width Safari issue (11 posts)

  1. whirre
    Member
    Posted 4 months ago #

    Hi again Tobias!

    I have set a max-width of 800px in the css wich works fine in Firefox.
    But Safari seems to ignore this, do you happen to know a fix for max-width that works with the tables in Safari.

    Thanks in advance Tobias, have a great day!

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

  2. whirre
    Member
    Posted 4 months ago #

    Think I've found a solution!

    The trick was to add: width: 80%;

    so the code is now:

    .tablepress {
    font-size: 10px !important;
    width: 80%;
    max-width: 580px;
    }

    Seems to work for now atleast.

  3. TobiasBg
    Member
    Plugin Author

    Posted 4 months ago #

    Hi,

    very nice! Good to hear that you found a solution already!

    Best wishes,
    Tobias

  4. whirre
    Member
    Posted 4 months ago #

    Sorry, I was wrong..

    It didn't work! Still searching for a solution.

  5. TobiasBg
    Member
    Plugin Author

    Posted 4 months ago #

    Hi,

    ok, can you then please post the link to the page with the table, so that I can take a direct look?

    Regards,
    Tobias

  6. whirre
    Member
    Posted 4 months ago #

    Hi again Tobias!

    Yes ofcourse: http://transportstyrelsen.hosterspace.com/sjofart/

    As you see, I have the text to a max-width of 580px.

    It works in Firefox, but Safari won't understand the max-width code.

    Thanks!

  7. TobiasBg
    Member
    Plugin Author

    Posted 4 months ago #

    Hi,

    thanks for the link! Now, I checked in Firefox, Chrome, and Safari, and each time, the table displays just fine, and has the same width as the image below it...
    What exactly are you seeing?

    Regards,
    Tobias

  8. whirre
    Member
    Posted 4 months ago #

    Hi! Thanks for helping me out Tobias.

    Here's a link provided: http://imgur.com/fbNSzua

    Thanks!

  9. TobiasBg
    Member
    Plugin Author

    Posted 4 months ago #

    Hi,

    that's strange. This is not what happens for me in Safari.
    Are you using the latest version? Maybe it's just a local thing...

    Regards,
    Tobias

  10. whirre
    Member
    Posted 4 months ago #

    Hi again!

    Yeah strange indeed! I'm running a Safari Version 6.0.5 (8536.30.1) on a Mac Pro with 10.8.5 Mountain Lion.

    Hopefully it's just my computer who acts up, I'll see if I can check on another one :-) Thanks for looking into it anyway Tobias!

  11. TobiasBg
    Member
    Plugin Author

    Posted 4 months ago #

    Hi,

    that might explain it. I'm running 10.9.2, which has Safari 7.

    Regards,
    Tobias

Reply

You must log in to post.

About this Plugin

About this Topic