Wouldn't you want all labels in side a form to appear on the left? If
so then why not do something along the lines of
label {
        float: left;
        width: 75px;
        display: block;
        clear: left;
        text-align: left;
        cursor: hand;
    }

On Apr 8, 6:31 am, Dardo Sordi Bogado <[email protected]> wrote:
> Assign some specific css selector (setting an id or class in the
> wrapping div should work), then set label { display: inline } or float
> the things left...
>
> $form->input('lefty-input', array('div' =>array('id' => 'make-me-left')));
>
> HTH,
> - Dardo
>
> On Wed, Apr 8, 2009 at 8:26 AM, Danny Lieberman <[email protected]> wrote:
>
> > This is sort of a classic css question but I have not been able to
> > position an label on the left side of an input field - it always
> > slides to the top.  When I did get the label on the left-it impacted
> > the layout of the entire form.
>
> > br
> > Danny
--~--~---------~--~----~------------~-------~--~----~
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