#supporter-form label { display: inline-block; width: 200px; text-align: right; } #supporter-form-submit { padding-left: 100px; } #supporter-form div { margin-top: 1em; } .form-error { display: none; margin-left: 10px; color: green; } .form-error-show { color: red; margin-left: 10px; } input.invalid, textarea.invalid { border: 2px solid red; } input.valid, textarea.valid { border: 2px solid green; }