MCS:PHP:Style
From MozillaWiki
Style
Style is a simple class in PHP version of MCS theme that allows easy creation of CSS rules from PHP.
Example
$style->add('.sel', 'background-image', 'url("./img/hb/hback4.png")'); $style->add('.sel', 'height', '35px'); $style->add('.sel', 'line-height', '35px'); $style->add('.sel', 'padding-bottom', '6px'); $style->add('.sel .mcs-logo-dark', 'display', 'none'); $style->dump('all'); // dumps all into CSS stylesheet