I have such a sketch: http://jsfiddle.net/challenger/upcZJ/.
I found an article http://www.jankoatwarpspeed.com/post/2008/07/09/Justify-elements-using-jQuery-and-CSS.aspx which explains how to adjust label widths relative to the widest one.
But I can’t do the same. What have I missed? I’ve tried do the thing inside an accordion tab and inside aside division.
Thanks!
Your label elements are
display: inline(the default) so thewidthproperty does not apply.Set
displayto something else (e.g.inline-block)