Christian Montoya wrote:

http://www.jakpsatweb.cz/css/css-vertical-center-solution.html
Does not work in MacIE.
http://www.kriton.de/CSS/zentrieren/alle-zentriert.html
would be another one.

Tom Livingston wrote:
http://www.wpdfd.com/editorial/thebox/deadcentre4.html
Does need given dimensions for the centered block.

Compared with a simple table cell, you need a shrink-wrapped centered box without the need of explicitely declaring a dimension, and it should work in the browsers the users are using.

Its not that there aren't good solutions out there. And they are all worth a closer look at the advanced techniques.

It's just I think that when you try to center more than a simple logo, the problems begin.

Try your solutions in standards mode, in a complex layout with positioned elements and floats and more content of unknown hight, and size/rezise the window and scroll (o.k., on the other hand, thats more than a table can do).

The link from Bruno I have provided twice in this thread and the solution of Georg try to limitate these issues.


But again: Doesn't dead centering of complex elements risks that the page gets unusable? How to center more content? Isn't the usual three column page an abstraction of the dead center for long content?

Ingo

--
http://www.satzansatz.de/css.html
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************

Reply via email to