public static addCssStyle ( array &$options, string | array $style, boolean $overwrite = true ) | ||
$options | array | the HTML options to be modified. |
$style | string | array | the new style string (e.g. `'width: 100px; height: 200px'`) or array (e.g. `['width' => '100px', 'height' => '200px']`). |
$overwrite | boolean | whether to overwrite existing CSS properties if the new style contain them too. |