:: Forum >>

Different text-align for cells and column header

If I provide a text align for a column, like the following:

.active-column-0 {
    text-align: right;
}


the header is automatically aligned in the same way. Aligning right is nice for numbers, but I still would like to see the column header beeing aligned to the left, or maybe centered.

Is there a way to define a different text-align for the column header?

Andreas
Friday, March 18, 2005
How do I find the style that defines the text orientation for the column header?

I would like to have for example column headers centered but then depending on the column type numbers right aligned, text left aligned, etc.

Andreas
Monday, April 4, 2005
Found the answer!

http://www.activewidgets.com/javascript.forum.838.1/column-header-text-align.html

Andreas
Monday, April 4, 2005

This topic is archived.


Back to support forum

Forum search