I have a table with two columns, like this:
Firstname: Jeff
Where the first column is a label and the second one is an input. Now I\'m setting
Set a minimum width which is the width of the typical widest label. Then use JavaScript to cope for edge cases. If the user doesn't have JavaScript, you can fallback to an 'OK' design.
Get the widest label in the form using the function from this answer, and then set the widths of all labels to that value.
This is a very similar setup to this answer although that one is setting s instead of
s.