I am trying to create a form that has the right margin roughly matching the left margin. So the space between the left edge of the form and the field label is the same as the space between the right edge of the form and right end of the input field, this works when I put fields side by side, but not in a field by itself. In the screenshot, you will see the top section of my form achieves my goal, but the next field down, DEVICE ID, does not. I have set the field size to 610px there, but as soon as a bump over that (to 611px) the input field wraps and ends up below the label. Any tips?
Here is the pertinent CSS code:
/*Correction By and Date Resolved side by side*/ /* Correction By */ #q38, #q19 {display: inline-block; } #q38 label {width: 150px;} #q38 .cf-medium {width: 250px;} #q38 .cf-field {width: 250px;} /* Date Date */ #q19 label {width: 130px;} #q19 .cf-medium {width: 105px;} #q19 .cf-field {width: 105px;} /* Device ID 610 is max*/ #q8 label {width: 150px;} #q8 .cf-x-large {width: 610px;} #q8 .cf-field {width: 610px;}