nntp2http.com
Posting
Suche
Optionen
Hilfe & Kontakt

Vertical aligning using floats instead of tables

Von: Java Jive (java@evij.com.invalid) [Profil]
Datum: 13.10.2009 22:26
Message-ID: <g8o9d59ci2kak6f163qro6uboafjv6bm1r@4ax.com>
Newsgroup: alt.www.webmaster
Given a row of divs each with the "float:left;" style and perhaps of
different heights unknown at programming time , is it possible to
vertically align them to their middles, using CSS alone, without
invoking JavaScript?

I don't think it is, unless one uses a table purely for layout, which
is frowned upon in some circles.

Any thoughts?
--
========================================================
Please always reply to ng as the email in this post's
header does not exist.  Or use a contact addresses at:
http://www.macfh.co.uk/JavaJive/JavaJive.html
http://www.macfh.co.uk/Macfarlane/Macfarlane.html

[ Auf dieses Posting antworten ]

Antworten