Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


How do I centre my webpage?

Posted on 2005-04-11
Medium Priority
Last Modified: 2010-04-25
Hello everyone,

I have noticed that on some computer screens (with a smaller set resolution - am I explaining this correctly? - I mean everything appears smaller), my webpages appear smaller and as such, to the left of the screen. I have noticed with professional sites, the page usually appears in the middle of the screen.

My question is how do I change my page so it will appear in the middle of the screen, when being viewed through a set resolution PC which makes the page seem smaller? I have tried messing around with autostrech and spacer images,  but I clearly have no idea what I am doing. I have a feeling that it's not too difficult, but that's no comfort as I don't know what to do.

Many thanks in advance,

Question by:Adam
  • 2
LVL 23

Accepted Solution

Saqib Khan earned 1200 total points
ID: 13756494
Right After the Body Tag Add <Div Align="Center">
And Right before the </Body> Tag Close it </Div>

Author Comment

ID: 13756726

Many thanks Adikhan.

Have a great day.
LVL 23

Expert Comment

by:Saqib Khan
ID: 13756731
My Pleasure:)

Featured Post

[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…

572 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question