Hey Sheetal,

You can do it in simple way.

in the input tag use 'div' => false thats it & for <td nowrap> see that
works.
<td nowrap> <?php $from->input('inputname' , array('label'=>false , 'div' =>
false , your other properties));?></td>

I am using it in my every application.

On Sat, Jul 11, 2009 at 5:56 PM, brian <[email protected]> wrote:

>
> You might be able to do it using CSS. Specifically, using the :before
> pseudo selector by giving your input a particular classname. This
> wouldn't work in IE6 but, if you used jQuery to insert the image, it
> should work.
>
> $('input.YourClassName').before('<img src="star.png" width="x" height="x"
> />');
>
> Or something like that. I'm not sure what the syntax for Prototype would
> be.
>
> On Fri, Jul 10, 2009 at 5:08 PM, 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
> >
> > >
> >
>
> >
>


-- 
Thanks & Regards,
Vijayk.
Co-founder (www.weboniselab.com)

"You Bring the Dreams, We'll Bring the Means"

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to