On Friday, June 01, 2007 3:44 PM Gee Starr <> said:

> Chris, I think my issue is slightly different: I am trying to get
> label text to show on the same line as the input field and datePicker
> button.  

Ahh... I see. I misunderstood.

> <p><label for="startDate">Start date </label><input type="text"
> name="startDate" class="datePickerField" /></p>

> This afternoon my experimental attempt to route around the problem is
> to apply a float to the label element that surrounds the, you know,
> label. This is working in some cases, not so well in other layouts.

Usually people just say "apply a float to the label element<period!>".
;)

Can you give a URL for the "not so well in other layouts"?

> I'm one of those masochistic types who avoids using tables for layout
> -- even on forms. Instead I use the delightfully ambiguous definition
> list element (dl) and some strategic classes on the label elements
> (when needed). Otherwise I would just put the label and the text
> input in separate table cells.    

It's hard to argue against a self-aware masochist but I would suggest
you repress your internal desire for self-inflicted pain and change your
layout paradigm. :)

Personally, I use tables for forms and put the label on top of the
field.


Regards,
Chris.

Reply via email to