do you mean give a link a class or id attribute? pass your attribs to the options param of HtmlHelper link
echo $html->link('Search',array('action'=>'search'), array('class' => 'supaSearch', 'id' => 'supaSearch')); also if your accessing an action of the current controller you dont need to pass $this->params['controller'] - S On 12 May 2010 12:11, Dilip Godhani <dilip.godh...@gmail.com> wrote: > how i appply css on link tag > in cakephp > > <?php echo > $html->link('Search',array('controller'=>$this->params['controller'],'action'=>'search')); > ?> > Help me > > Thanks > > -- > Dilip Godhani > Jr Software Developer, Entourage Solutions > e-mail: di...@entouragesolutions.com > dilip.godh...@gmail.com > Web.: www.entouragesolutions.com > m. 9913822582 > > 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+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en