form fields causing line breaks when there are errors

Gilles wrote:

I have no problem with this error. It's fine as it is. However, my problem is that when I reach this point where it displays error messages, line breaks occur where I do not want them to. One example in particular is my radio buttons.

They are in this form originally:

O option1
O option2
O option3

After the error messages are displayed lines start breaking like so:

O
option1
O
option2
O
option3

This is probably due to how it highlights the form fields affected, red. I actually commented out all css styling associated with the error messages, but solved nothing. Is there a solution to this problem? Thanks.

.fieldWithErrors { display: inline }

should work.