I am using <div class="field_with_errors">
to show validation errors with twitter bootstrap. But when validation error appears, these create extra space between controls that cause whole UI gets broken as you can see from image. How to avoid this extra space. Second thing that I want to display validation errors in front of controls not below. How it would be possible. When I tried to debug this css using Firbug, I got to know there is <pre> </pre>
HTML tae and they causing this extra space. I have put red color for extra space in image.
Please suggest me how to avoid this extra space and get validation errors on right side of controls (infront). Please let me know if you need more code to be pasted.