public function getStyle($key)
    {
        $styles = Helpers::cssStringToArray($this->getAttribute('style'));
        return (isset($styles[$key]) ? $styles[$key] : null);
    }
public function getStyle($key)
    {
        $styles = Helpers::cssStringToArray($this->getAttribute('style'));
        return (isset($styles[$key]) ? $styles[$key] : null);
    }
public function getStyle ( $ key ) { $ styles = Helpers :: cssStringToArray ( $ this -> getAttribute ( 'style' ) ) ; return ( isset ( $ styles [ $ key ] ) ? $ styles [ $ key ] : null ) ; }
get one CSS style property of the first element

@param string $key name of the property
@return string|null value of the property
get one CSS style property of the first element