You probably just need to tweak the CSS using display: inline and so on.

What does the HTML output look like? It'll be easier to advise once we see that.

Jeremy Burns
Class Outfit

[email protected]
http://www.classoutfit.com

On 14 Jul 2010, at 10:43, Tomfox Wiranata wrote:

> hi,
> 
> i am trying to pimp up my forms with css. but it seems a little more
> difficult with cake. technically i wanna have my login form close to
> facebook. elements side by side
> 
> username - inputfield      password - inputfield
> remember me           forgot password?
> 
> 
> i know it works like that:
>               echo $form->input('username',  array(
>                       'label' => 'Login',
>                       'div'=>'formfield',
>                       'error' => array(
>                               'wrap' => 'div',
>                               'class' => 'formerror'
>                               )
>                       ));
> 
> 
> but this formats my label and inputfield..i want it to format
> separately..and i cant get the above mentioned order done.. i always
> get the elements one below the other...
> 
> username
> inputfield
> 
> password
> inputfield
> 
> how can i do that? thx :)
> 
> 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 [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

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