Greetings,
I am writing an HTML code in Visual Studio 2012 to center a table, but unfortunately, in the design view, it is shown as not centered, but when I run the website, it is centered. I want to see it centered in design and at runtime, not only at runtime. I didn't face this problem using previous versions of Visual Studio (i.e. 2008, 2010), but only I faced this in Visual Studio 2012.
The code I am writing is as follows:
<body>
<form id="form1" runat="server">
<div style="margin:0px auto">
<table style="margin:auto">
<tr>
<td align="center">Hello World!</td>
</tr>
</table>
</div>
</form>
</body>
I appreciate your help.
Regards,
Omar