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

Whats the best and easiest way to center a website so that it will appear centered no matter what browser or size of screen you use.

2007-04-27 05:27:04 · 8 answers · asked by john s 1 in Computers & Internet Programming & Design

8 answers

Inside the HTML code just before the text or graphics put:



text
graphic
text
text



To see what it will look like your can test your coding by placing all of your HTML into a Practice screen.

See link below

2007-04-27 05:32:24 · answer #1 · answered by AFUSpeekEZ 3 · 0 0

The

tags are depreciated in the latest html spec.

The
tags are fairly recent so for belt and braces use



the text to be centred

2007-04-27 09:25:49 · answer #2 · answered by David P 7 · 1 0

Yeah, no longer based in any respect... attempt this: on your "body" area on your code, make the textual content-align based, then for each content textile section, make the textual content-align left... that way, the content textile elements are all based, despite the indisputable fact that the textual content in them is aligned left accurate.

2016-10-18 04:13:05 · answer #3 · answered by nedeau 4 · 0 0

css: enclose your page in a div (in this example, called "wrapper")
within the css file place:
#wrapper { margin: 0 auto; }

then in the html file:


...your page stuff...


2007-04-27 11:54:43 · answer #4 · answered by fjpoblam 7 · 0 1

Hi, use this site's template:

http://www.intensivstation.ch/en/templates/

the ones you want are at the bottom

2007-04-27 05:32:40 · answer #5 · answered by David B 4 · 1 1

put your content inside divs.




CONTENT HERE

2007-04-27 05:35:28 · answer #6 · answered by Anonymous · 1 1

use HTML or CSS.

look up "center".

2007-04-27 05:33:27 · answer #7 · answered by bubbadaguy 3 · 0 1

use a table
example.....






CONTENT

2007-04-27 06:17:34 · answer #8 · answered by redworm2k2 3 · 0 2

fedest.com, questions and answers