W3C home > Mailing lists > Public > www-style@w3.org > July 2003

Re: Center DIV

From: Simon Jessey <simon@jessey.net>
Date: Thu, 3 Jul 2003 10:34:46 -0400
Message-ID: <005601c34170$40a0f9e0$6601a8c0@Simon2S0JP11>
To: <www-style@w3.org>

----- Original Message ----- 
From: "Afternoon" <afternoon@uk2.net>
Subject: Re: Center DIV

> I recommend writing non-standard HTML such as that required to create a
> 100% table. Just leave out the DOCTYPE. Who cares if it validates. The
> view of people who wish to center block level objects and the view of
> the W3C CSS working group will not be harmonised for some time yet.

Saying "I recommend writing non-standard HTML" and "who cares if it
validates" is extremely unhelpful. I suggest that Jonas ignores this rather
silly advice from Ben.

Instead, I strongly recommend visiting the excellent "Web Page Design for
Designers" website, where you will find the following article:-


A good method for centering vertically and horizontally is fully described
and demonsrated with code examples. It works on all current browsers.

Simon Jessey

w: http://jessey.net/blog/
e: simon@jessey.net
Received on Thursday, 3 July 2003 10:34:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:08 UTC