Topic Resolution: Resolved
  • Closed
  • April 23, 2015 at 12:15 pm #16734

    Hi all,

    I would like to present most of my content in tables (i. e. one column for Test, one column for Image).

    I overwrite in custom CSS some stuff like:
    table {
    background:none;
    border:none;
    }

    and it works fine so far.
    I would like to adjust also the padding of all my tables to 1px, that the distance between border an text/ Image is 1px (top, bottom, right and left). Here is one of my example pages (the Images are just place holder):

    Click here

    Any help is welcome.

    Best regards,
    Frank

    P.S. I keep the border in this example visible, because of looking of the result during changes.

    Frank Stellmacher
    Spectator
    Posts: 18
    April 23, 2015 at 12:51 pm #16735

    Hi all,

    I solved just the HORICONTAL PADDING (right, left) with these custom CSS code:
    td, th {padding: 2px !important;}

    Now I Need it for top and bottom!

    Any ideas?

    Thanks, Frank

    Roman
    Spectator
    Posts: 3147
    April 23, 2015 at 4:49 pm #16748

    well, the padding is actually 2px now for top and bottom, too, but what’s causing the space now is margin of the text in the table, maybe you could use something like:

    <h4 style="text-align: left;margin:0;">Echtzeit-Überwachung zum Auffinden von “Bottleneck´s”</h4>

    Frank Stellmacher
    Spectator
    Posts: 18
    April 23, 2015 at 5:32 pm #16752

    Hi Roman!

    Of course, that was the problem.

    Many thanks for your quick response!

    Best Regards, Frank