rulururu

post To left-align or to right-align… that is the question

July 30th, 2007

Filed under: UI — mike hall @ 5:26 am

In lots of applications I use and write, left-aligned labels are used:

In principle this violates the Law of Promoxity since the labels are aligned with the left edge of each other instead of being aligned with the control they reference. This isn’t too bad unless the labels are pretty far from the control.

I can actually feel my eyes trying to keep steady as they scan across the page trying to keep a level visual line to identify the control that the label is associated with. Of course for an easy fix, you can just move the labels in closer to the controls. But what if you have a label that is noticeably longer than the others? That doesn’t seem to work very well:

So unless you have label length problems (as shown above), aligning the labels with the controls seems to make the most sense both logically and aesthetically. Sometimes it’s a little too late to change though.

…But what do you think?

2 Comments »

  1. You might enjoy these two articles.

    Web Application Form Design

    Label Placement in Forms

    Comment by Scott
    July 30, 2007 @ 12:57 pm

  2. After reading the first link, I think I still stand by my original post. I didn’t consider above left-alignment, which is a viable option, however trying to group controls gets problematic and increases the usage of vertical space even more.

    The second link is pretty interesting. So they’re saying that above left-alignment is better (well faster and easier to process) than right-alignment which is better than simple left-alignment. I can buy that, however you still lose that much more precious vertical space, you force your form to be pretty thin with lots of whitespace, and well… it might just end up looking crappy. I think a nice balance of form and function is needed here. I’d still vote for right-alignment.

    Comment by mike
    July 31, 2007 @ 11:37 am

RSS feed for comments on this post. TrackBack URI

Leave a comment

ruldrurd

Powered by WordPress, Theme based off the "I'm Okay" theme by Laurentiu Piron

Creative Commons License This work is licensed under a Creative Commons Attribution 3.0 United States License.


Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.