Will give that a shot. Thanks Its for an attempt at a rounded corner tabbed css so i need the style and the span.
On Nov 19, 2:28 pm, jburns <[email protected]> wrote: > Or you could nest them... > > echo $html->tag('span', $html->link('Hello World', '/'), array('class' > => 'welcome')); > > On Nov 19, 5:20 pm, mike karthauser <[email protected]> wrote: > > > Just add a class to the link instead. Then you won't need to add a span > > > Mike Karthauser > > Brightstorm limited > > Tel: 07939252144 > > > On 19 Nov 2009, at 17:18, Dave <[email protected]> wrote: > > > > How can add span tag to a link? > > > > Cookbook: > > > > <?php echo $html->tag('span', 'Hello World.', array('class' => > > > 'welcome'));?> > > > > //Output > > > <span class="welcome">Hello World</span> > > > > But to get something to output : <a href="#"><span>Something</span></ > > > a> > > > > Thanks > > > > Dave > > > > -- > > > > 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 > > > athttp://groups.google.com/group/cake-php?hl= > > > . > > -- 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=.
