.field_row label { float:left; width:20%; text-align:left; } .field_row label.wide { width:30%; } label.required { color:red; } .form_field { float:left; padding: 3px; } .form_field input, .form_field textarea { padding: 4px; } .float_left { float:left; } .float_right { float:right; } input { padding: 3px; } .clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } .clearfix { display: inline-block; } html[xmlns] .clearfix { display: block; } * html .clearfix { height: 1%; }