English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I am designing a website, and i want to know how I go about centering the web page when it is viewed online. I don't want my page to be off-centered. I want it to be like Yahoo's pages where everything is right in the middle, regardless of what browser is being used. Thanks.

2006-12-14 14:27:14 · 6 answers · asked by Thinker 1 in Computers & Internet Programming & Design

6 answers

I just finished taking a basic web course and we were shown to use a table 800 wide and centre and build your page within it. You can use page properties and change the background colour and then when the table is built (1 row, 1 column) 800 wide select table properties and you can change the background using color or image....hope this helps..turns out kind of neat with practice and the page will stay centered. Hope this helps

2006-12-14 15:54:18 · answer #1 · answered by Liz Q 1 · 0 0

Create the page inside a table that has it alignment set to "center" and is sized to fit your page.

2006-12-14 14:30:36 · answer #2 · answered by dewcoons 7 · 0 0

Put the following code in between the tags in your document:



the "body" selecter tells the CSS to effect the tag in your document--the whole thing.



Sincerely,

Ben Burgess
Degree of Excellency in HTML - w3c certified

2006-12-15 05:17:10 · answer #3 · answered by Ben B 3 · 0 0

Edit the code, after insert

and before insert
.

2006-12-14 14:37:30 · answer #4 · answered by geek546 7 · 0 0

html

2006-12-14 14:36:05 · answer #5 · answered by zcbrock 2 · 0 0

use css to define. something like this:

.body{ align=center}

2006-12-14 14:37:12 · answer #6 · answered by fang 4 · 0 0

fedest.com, questions and answers