Support » Plugin: TablePress » Table looks offset in Firefox

  • Resolved martin1723

    (@martin1723)


    Hi, I have a table with fixed left column and horizontally scrollbar in a post. The first row contains images. I use CSS to format the content.
    On Chrome everything looks fine but in Firefox (V 68, 64-Bit) there is an offset after the first column and firefox doesn’t seem to understand the two overlapping tables (I think this is how the fixed left column is working).
    Sometimes it looked better after a page reload but now the rows still look offset.

    Do you have an idea?

    Thanks
    Martin

    The page I need help with: [log in to see the link]

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

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Unfortunately, I don’t have an idea why this happens, sorry 🙁 I have seen it before but don’t know why some browsers sometimes have problems properly calculating the table cell sizes. Sorry.

    Regards,
    Tobias

    Thread Starter martin1723

    (@martin1723)

    I found the problem in my table-code.

    To force the table column widths I inserted images with the desired column width (i.e. 150px). Even if there goes only text in the table head its better (for me) to create a small png-image with that text and the correct width. Doing so it is also possible to horizontally align the header-text/colour differently from the table content (because its in the image).

    What caused the problem with the row-offset?
    Browsers handle code-errors obviously different. The one simply ignores the incorrect code, the other one swallows up.
    In one case I forgot the second ” whith empty alt-attribute. Another mistake was a missing space between alt=”” and />.

    So, the mistakes were all mine… 😉 And I learnd that browsers behave differently tolerant.

    Thanks Tobias for the good table work!

    • This reply was modified 1 year, 9 months ago by martin1723.
    • This reply was modified 1 year, 9 months ago by martin1723.
    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    very interesting! Good to know that! Thanks for continuing to find a fix!

    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 ‘Table looks offset in Firefox’ is closed to new replies.