Category | HTML helper functions - style |
Code Examples | style( data[array], inline[bool] )
$styles = array(
'p_bold'=>array(
'font-size'=>'1.0 em',
'font-weight'=>'bold'
)
'p_italic'=>array(
'font-style'=>'italic'
)
);
=$html->para(null,'Paragraph Text',array('style'=>$html->styles($styleså
['p_bold'])));?>
This line would return the following HTML:
Paragraph Text |
Test Code | |
Links | |
Remarks | |
Cancel |