Check out this example for reference: http://jsfiddle.net/5S3mk/3/
I am working on making a table sortable, with dynamic columns and unknown widths. The goal is to have sorting links in the table header while keeping the content centered horizontally.
To achieve horizontal centering, I followed the method outlined here.
However, I'm now facing difficulty in vertically centering the spans within the container div. Can anyone suggest a solution for achieving vertical centering (legacy browser compatibility not required)?