Posted by Brian Cryer on 07/13/06 13:23
"Lee" <lee__2k@hotmail.com> wrote in message
news:1152789273.292610.162330@m73g2000cwd.googlegroups.com...
> Hi,
>
> I want to create a web site that is centred, something like;-
>
> http://www.xbox-scene.com/
>
> Any ideas how this is accomplished, or are there any editors that can
> do
> this?
Stick everything inside a div and center that. So something along the lines
of:
<body>
<div style="text-align:center">
<p>Some content ...</p>
</div>
</body>
the site you gave as an example has a fixed width design (860pixels wide),
which means it sticks to the same width regardless of the size of the
browser window. A dynamic design which adjusts to the browser width has a
number of advantages over this (plus some disadvantages).
--
Brian Cryer
www.cryer.co.uk/brian
[Back to original message]
|