asp net css how to change text alignment of gridview column

CSS
protected void GridView1_DataBound(object sender, EventArgs e)
    {
        GridView1.Columns[1].ItemStyle.HorizontalAlign = HorizontalAlign.Right;
    }
Source

Also in CSS: