public static function cssStyleFromArray( array $style ) {
		$result = '';
		foreach ( $style as $name => $value ) {
			$result .= "$name: $value; ";
		}
		
		// return null if empty to avoid rendering the "style" attribute
		return $result === '' ? NULL : rtrim( $result );
	}