This is my input code sample. So whenever an error is generated, this error label would be visible. But it is coming up below the input element. I want it to be on the right side of the input.
I am able to modify the css for this bit using the label.error code bit I have. Label being the type and error is the class of that label being generated.
label.error
{
display:inline;
float:right;
}
> <td><input
> name="answer_engineeringjobs_1^11"
> id="answer_engineeringjobs_1"
> class="reqfield required zipUS error"
> type="text"><label class="error"
> generated="true"
> for="answer_engineeringjobs_1">This
> field is required.</label></td>
Floating an element makes it a block, which triggers a new line before it.
You would need to float the input left too.