:: Forum >>

Header alignment


I'm trying to have some columns aligned to the left and some to the right including the header, but I can only align the data, not the header. Is there a way to modify the style of a specific header?

Thank you!
Wednesday, May 9, 2007
.aw-grid-headers .aw-column-1 {text-align: right}
Alex (ActiveWidgets)
Thursday, May 10, 2007
Thank you Alex,

but it doesn't seem to work. To change the data align I'm using

.aw-column-1 {text-align:right}

and works pretty well, but headers are always left aligned.
Friday, May 11, 2007
You missed a part, you have to include that entire line to make the header move instead of the data.

.aw-grid-headers .aw-column-1 {text-align: right}
Monday, May 14, 2007
Hi Mike!

Yes, I included the entire line to change headers but nothing happens. I posted that line just to show how I'm changing the aligment for the rest of the column.

I've tried with .aw-grid-header .aw-column-1 {text-align: right} but id didn't worked. Also I tried using the Id of the grid at css but I got the same result.

Now I'm going to try with different css (XP style, classic...)

Wednesday, May 16, 2007

This topic is archived.

Back to support forum

Forum search