After clicking submit on the form located at this link:
I am experiencing an issue where the validation messages are not displaying as intended. I would like them to appear next to the input elements, inline with the form.
I suspect that there may be a problem with the styling rules for labels and inputs. The labels are floated left within the containing div with an id of form.
#aform label {
clear: both;
display: block;
float: left;
font-weight: bold;
text-align: left;
}
.inputstyle2 {
float: left;
margin-right: 240px;
width: 300px;
}
#form {
float: left;
}
Any advice and explanations regarding what might have gone wrong would be greatly appreciated.