I often use the excellent WordPress plugin Gravity Forms
to quickly build contact forms, surveys, subscriptions, etc. on client sites. The other day I was building a form that had mostly left aligned labels but had some longer, sentence format, survey-type, yes/no questions and needed the label to run the full width of the form instead of just in the left aligned spot.
It turns out the solution was pretty simple, so I thought I'd document it here in case in helped anybody else.
First, apply a custom style to the field. I used
Then, add the following declarations to your stylesheet:
There you have it. Full column width labels mixed in with left aligned ones.