.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

how to place table at Center

Posted By: Vikramraj     Posted Date: June 19, 2010    Points:2   Category :ASP.Net
I have html table on asp.net webpage. I want that html table at center of the page. Width of the page is 990px. Whtatever the resolution of screen. How I will solve this problem.

Author: Syed Shakeer Hussain             
Posted Date: June 19, 2010     Points: 5   

Hi vikramRaj,

<td align="center">
<!- your inner table HERE ->


Author: Kirtan             
Posted Date: June 21, 2010     Points: 5   

place the code in <center> tag

or you can align it through css too

like making

margin-right : auto;

will make it in center;

Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend