When you are creating a GridView on an ASP.Net page, one of the things you might try is to put a div tag around it, in order to center the GridView on the page, by assigning text-align:center to the div tag, but that won’t work. Newer CSS doesn’t work that way.

Keep in mind, when rendered, the GridView show up on the web page as an html table.

In order to do that, assuming you have a CSS Class that you are using with your GridView, just add the following css to your class:

margin-left: auto;
margin-right: auto; 

That’s all it takes.
(I’ve confirmed this on IE9 as well as Chrome)