- From: Afternoon <afternoon@uk2.net>
- Date: Thu, 3 Jul 2003 15:43:35 +0100
- To: www-style@w3.org
WPDFD's methods do work well, unless the size of the content unexpectedly becomes larger than the browser, which is possible if the browser is much smaller than the author expect, e.g. with a mobile device. Also, they require the size of the content to be fixed which is inappropriate if user's choose a font size very different from the original. I know my attitude was surly, but I still think this is a 100% table is the most (only?) reliable and flexible way to construct page with a centered item and I have seen no activities within the group that attempt to provide a better technique. This is a problem that has, along with several others, been discussed many times on this list and yet the discussions have come to nothing every time. Ben On Thursday, Jul 3, 2003, at 15:34 Europe/London, Simon Jessey wrote: > > ----- 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:- > > http://www.wpdfd.com/editorial/wpd0103.htm#toptip > > 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 > > (q) Ben Godfrey? (a) Web Developer and Designer See http://aftnn.org/ for details
Received on Thursday, 3 July 2003 10:43:42 UTC