I have 1 link that I simply want to add padding to in a quick inline style. How can that be done when it already is using other styles? Not a real important question but it’s the first time I came across it and wondering if it was possible.
<?php echo $this->Html->link('learn more' , '/about', array('class' => 'tab black right', 'title' => 'learn more…’));?> So it already has “tab, black and right” classes added to the link but would like to add $this->Html->style(array('padding-top' => '20px'))
Thanks
Dave
No comments:
Post a Comment