How can I set the margin-left property of the HTML table generated from an ASP.net GridView?
+2
A:
<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>
Will
2009-08-04 15:39:01
Hur? I'm not wrapping anything in a div.
Will
2009-08-04 16:06:17