![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello Is there a recommended way to line up form fields with their labels so that the label column is right justified and the fields are left justified? Example: http://www.dorseygraphics.com/review...getemplate/for m.jpg I need the labels to sit next to their respective fields and buttons, but they need to be right justified. I'm not quite sure how to line this up using CSS. Any suggestions are appreciated. Thanks, ---------------S |
#3
| |||
| |||
|
|
S wrote: Is there a recommended way to line up form fields with their labels so that the label column is right justified and the fields are left justified? Forms are considered by many to be tabular data. Use a table. |
|
Note that this technique cannot be used when a table is being used for layout, with the label in one cell and its associated control in another cell. |
#4
| |||
| |||
|
|
But putting the label text and the form control into different table cells prevents the use of the implicit association variant of the <label> markup. |
![]() |
| Thread Tools | |
| Display Modes | |
| |