Google Answers Logo
View Question
 
Q: aligning pages for browser windows ( No Answer,   2 Comments )
Question  
Subject: aligning pages for browser windows
Category: Computers > Graphics
Asked by: sunnymck-ga
List Price: $2.00
Posted: 13 Jul 2005 20:18 PDT
Expires: 12 Aug 2005 20:18 PDT
Question ID: 543313
How can I make my web pages appear in center of browser window?  Most
web sites are left aligned and I want mine to be centered. I am using
Dreamweaver to create the pages.
Answer  
There is no answer at this time.

Comments  
Subject: Re: aligning pages for browser windows
From: moty66-ga on 14 Jul 2005 05:49 PDT
 
Use this

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Your title</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>

<body>
<table width="100%" height="100%">
<tr>
<td align="center" valign="middle">

YOUR CODE HERE 


</td>
</tr>
</table>
</body>
</html>
Subject: Re: aligning pages for browser windows
From: vipul2378-ga on 02 Aug 2005 07:21 PDT
 
Hi Sunny,

You can add <Body align="center"> in your body tag. This will make
your page center align. Hope this helps.

Cheers,
Vipul

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy