- From: Sampo Syreeni <decoy@iki.fi>
- Date: Wed, 24 Oct 2001 20:17:25 +0300 (EEST)
- To: Andrew McFarland <andrew.mcfarland@unite.net>
- cc: <www-style@w3.org>
On Wed, 24 Oct 2001, Andrew McFarland wrote: >>Using CSS how can I center the inner DIV or really the text within the >>inner DIV horizontally and vertically? > >I'm pretty certain you can't. I don't think this is quite true. Use absolute positioning for the outer div and set it to display:table-cell with vertical-align:middle, or use explicit height for everything. Sampo Syreeni, aka decoy - mailto:decoy@iki.fi, tel:+358-50-5756111 student/math+cs/helsinki university, http://www.iki.fi/~decoy/front openpgp: 050985C2/025E D175 ABE5 027C 9494 EEB0 E090 8BA9 0509 85C2
Received on Wednesday, 24 October 2001 13:17:26 UTC