Thanks!

-----Original Message-----
From: cricket [mailto:[email protected]] 
Sent: July-28-10 9:51 PM
To: [email protected]
Subject: Re: Add Single CSS style

On Wed, Jul 28, 2010 at 8:05 PM, Dave Maharaj <[email protected]> wrote:
> 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'))


array('class' => 'tab black right', 'title' => 'learn more…’, 'style'
=> 'padding-top:20px;')

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

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