2009/11/28 TF <[email protected]>:
> Hi, the sample forms show a format like:
>
> <label></br>
> <textfield>
>
> But I would like to streamline the form so it has align='right' for
> the <label>
>
> <label>: <textfield>
> <label>: <textfield>
> <label>: <textfield>
>
> Help?
>
> Creating two <div> one for <label> and the other for <textfield>
> doesn't allow them to be aligned well vertically.
>

It does, you can set width for each div and make them float left. By
default div is displayed as block so you can't have few of them in the
same row, but you can always change this with CSS.

I usually structure this like:

<div class="field_wrapper">
        <label for="id_label">Label</label>
        <input id="id_label" type="text" />
</div>

Checkout this [1] example for inline forms.

[1] http://www.blueprintcss.org/tests/parts/forms.html

Davor

--

You received this message because you are subscribed to the Google Groups 
"Blueprint CSS" 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/blueprintcss?hl=en.


Reply via email to