Sunday, November 10, 2019

tables - Should column labels for numbers be aligned right?


In a grid structure, I understand you should right-align numbers in the cells.


Should you also right-align the headers for these columns?



Answer



The column headers aren't part of the data, therefore it's good if these are visually distinguishable from the cell data. This can be achieved by font style, tile background and alignment. So, using center alignment for your column header but not for your cell content is no violation against best practices, on the contrary.


No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...