public function addStyle($href)
    {
        // Get css link
        $css = $this->getHTMLFactory()->buildLink('stylesheet', $href);

        // Append link to head
        $this->appendToHead($css);

        // Return the html element
        return $css;
    }
public function addStyle($href)
    {
        // Get css link
        $css = $this->getHTMLFactory()->buildLink('stylesheet', $href);

        // Append link to head
        $this->appendToHead($css);

        // Return the html element
        return $css;
    }
public function addStyle ( $ href ) { // Get css link $ css = $ this -> getHTMLFactory ( ) -> buildLink ( 'stylesheet' , $ href ) ; // Append link to head $ this -> appendToHead ( $ css ) ; // Return the html element return $ css ; }
Inserts a css line.

@param string $href The href attribute of the link

@return HTMLElement
@throws InvalidArgumentException
Inserts a css line .