User Experience Stack Exchange is a question and answer site for user experience researchers and experts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best practice to have a column header alignment, should it be left or center aligned? On click of the column header the columns can be also sorted. Numeric values will be right aligned by default.

share|improve this question

Sun Microsystem's Java Guidelines recommend center aligned column headers unless the header is very short.

Center titles in the column headers of tables, except brief titles of wide text columns that are mostly blank. Center or left-justify brief titles.

It seems to be the way I usually see tables laid out in newspapers as well.

share|improve this answer
Google Spreadsheets does it that way – Assaf Lavie Oct 17 '11 at 18:32

If it's a desktop application, go with what the operating system's UX guidelines tells. In Windows that would be to align the header in the same way as the data in that column.

share|improve this answer
That link appears to state the exact opposite! The examples of Windows Explorer show the Size columns breaking this rule – OrganicPanda Jan 14 '13 at 16:51
I am afraid your are right. Im fact the MS Windows UI development tools (such as .Net) don't even offer a way to align header with the data. The alignment is always on the left, for some reason... – Bart Gijssens Jan 15 '13 at 7:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.