Ad Widget

Collapse

CSS formatting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • steveboyson
    Senior Member
    • Jul 2013
    • 582

    #1

    CSS formatting

    Hi all (and @devs),
    this might be a silly question but as I am not a HTML developer I tend to ask before I spend lots of time finding it out by myself.
    (Zabbix version 2.2.2 on Debian/wheezy)

    It is quite nice to have a preformatted HTML output of a script displayed inline in screens.
    But: while the generated HTML code itself looks as expected when displayed outside of zabbix, the code gets some HTML CSS transformations applied which makes it "not so nice".

    Particular HTML output in tables get a "text-align: center" attribute applied.
    Can someone tell what CSS code for self-defined content in screens is to be used if I want:
    Code:
    tr, td {
    text-align: left; vertical-align:top;
    }
    Sure I can define these for my own table but then these settings do override the overall page settings.

    So: is there a style defined within zabbix which just "passes" the external HTML description unmodified to zabbix AND displays my generated content with just the CSS applied which I HAVE DEFINED?

    Thanks for your help!
    Last edited by steveboyson; 10-03-2014, 00:09.
Working...