echo $form->input(
'NAME',
array(
'class' => 'input_edit',
'label' => 'Name',
'type' => 'text',
'value' => '',
'after' => $html->image('star.jpg', array('title' => 'hai'))
)
);
On Jul 11, 4:08 am, Sheetal <[email protected]> wrote:
> Hi Friends
> My problem is..
> I have a input box with an image tag following it
> echo $form->input('NAME', array('class' => 'input_edit', 'label' =>
> 'Name', 'type' => 'text', 'value' => '']));
> echo $html->image('star.jpg', array('title' => 'hai'));
>
> As the input box is wrapped inside a <div> tag, the star symbol is
> getting displayed in the next line. What should I do, so that the star
> symbol gets displayed next to the textbox.
> Please give me a simple solution.
> Thanks in Advance
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---