static public function implodeStyles(array $styles)
    {
        $a = [];

        foreach ($styles as $p => $v) {
            $a[] = "$p:$v";
        }

        return implode(';', $a);
    }
static public function implodeStyles(array $styles)
    {
        $a = [];

        foreach ($styles as $p => $v) {
            $a[] = "$p:$v";
        }

        return implode(';', $a);
    }
static public function implodeStyles ( array $ styles ) { $ a = [ ] ; foreach ( $ styles as $ p => $ v ) { $ a [ ] = "$p:$v" ; } return implode ( ';' , $ a ) ; }
Implodes the style attribute.

@param array $styles

@return string
Implodes the style attribute .