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

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to