The following is the code for a simplw web page designed in Visual, and I want to know how to align the web page automatically in the screen where the resolution is higher then 800x600. Please help me.

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="sainikimphal.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
	<meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
	<meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
	<meta name="vs_defaultClientScript" content="JavaScript">
	<meta name="vs_targetSchema" content="">
<body MS_POSITIONING="GridLayout">
	<form id="Form1" method="post" runat="server">
		<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 8px; WIDTH: 594px; POSITION: absolute; TOP: 8px; HEIGHT: 229px" cellSpacing="1" cellPadding="1" width="594" border="1">
				<TD>This is a simple web page</TD>

Screen width will require client side calls, I think. I haven't done it, but that is my understanding. I think VS2008 adds some features, like the tables in it are a % of the client browser, rather than a fixed width.

If you are just looking to center your page, I have found the easiest way is to drop a table on the page, use the style to center the table, and it's finished.