• I just converted my tables from “eDoc Tables” to TablePress.

    Some things I think should be included as configuration options:
    1) You want frames around the cells; if so, then what line thickness
    and color
    2) The color of the header-bar

    I detest CSS (Cascading Style Sheets? What cascades? I do cascading menus in PERL)
    The last thing I need is to learn a new language. It would be nice to
    eliminate some of the CSS-garbage.

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    I’m afraid that I’ll have to disappoint you here a bit, as I have a different opinion on CSS. I feel that it’s a very powerful and flexible styling language. Yes, it can be intimidating at first, but it follows a very straightforward syntax.
    That’s why it’s much better than adding a configuration option for every possible styling change. (To stay with your example: Why stop with lines around every cell, but just the line thickness? What about color and line type then? And what if one only wants borders around rows or columns but not every cell? I feel that this would quickly lead to an overloaded and unusable user interface.)

    Now, the CSS code for your requirements is very simple:
    1) For the borders, please add this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:

    .tablepress thead th,
    .tablepress tbody td {
      border: 1px solid #cccccc;
    }

    2) For the header row background color, please use the code from the example at https://tablepress.org/faq/change-background-color-table-head-row/

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Ideas on improving TablePress’ is closed to new replies.