Reputation: 13769
How can I set the margin-left property of the HTML table generated from an ASP.net GridView?
Upvotes: 0
Views: 10807
Reputation:
<asp:GridView id="hurfDurf" style="margin-left:10%;" runat="server">
</asp:GridView>
Alternatively, at the top of your aspx page...
<head>
<style type="text/css">
#hurfDurf table
{
margin-left:10px;
}
</style>
</head>
Upvotes: 6