Re: How i Give Css on link

2010-05-12 Thread Jeremy Burns
Spooky... Jeremy Burns jeremybu...@me.com On 12 May 2010, at 14:24, Sam Sherlock wrote: > 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', '

Re: How i Give Css on link

2010-05-12 Thread Sam Sherlock
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

Re: How i Give Css on link

2010-05-12 Thread Jeremy Burns
This code will render a straightforward html link on your page, so if it is part of a div or other element, then the appropriate CSS style will apply to it. If you want to specify the id, name or class of the link, then put it in the $htmlAttributes array: Syntax: link( string $title,

How i Give Css on link

2010-05-12 Thread Dilip Godhani
how i appply css on link tag in cakephp 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.entourageso