as you can see if i print these they with a textfield, all of the layout will look messy how would i straighten this up?
Apply some float to your label and then set a width (in CSS) like

label{
float:left;
width:/*whatever value with a unit */
}

VIPStephan

02-18-2009, 12:28 PM

Yes, to add to CyanLight’s statement: Labels need to be associated with a form control, otherwise they are pretty useless. So each form control (input/select/textarea that’s supposed to be associated with a label) needs to get a unique ID and each label needs a for attribute whose value equals the ID of the according form control. You can have multiple labels associated with the same form control, by the way.