7.4.1.5 style
style(array $data, boolean $oneline = true)
Builds CSS style definitions based on the keys and values of the array passed to the method. Especially handy if your CSS file is dynamic.
<?php echo $this->Html->style(array(
'background' => '#633',
'border-bottom' => '1px solid #000',
'padding' => '10px'
)); ?>
<?php echo $this->Html->style(array('background' => '#633','border-bottom' => '1px solid #000','padding' => '10px')); ?>
Will output:
background:#633; border-bottom:1px solid #000; padding:10px;


























