Wednesday, July 28, 2010

RE: Add Single CSS style

Thanks!

-----Original Message-----
From: cricket [mailto:zijn.digital@gmail.com]
Sent: July-28-10 9:51 PM
To: cake-php@googlegroups.com
Subject: Re: Add Single CSS style

On Wed, Jul 28, 2010 at 8:05 PM, Dave Maharaj <me@davemaharaj.com> 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com 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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: