protected function addStyle($what, $value)
    {
        if (is_array($value) && count($value)) {
            $type = 'inner';
            switch ($what) {
                case 0:
                    $type = 'outer';
                    break;
                case 2:
                    $type = 'button';
                    break;
            }
            foreach ($value as $name => $set) {
                if (!empty($set) && is_string($set)) {
                    $this->{$type . 'Style'}[$name] = str_replace(';', '', trim($set));
                }
            }
        }
    }