That's along the lines of having to know the height ahead of time and setting it and I'd rather keep it flexible if possible.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Heiden Sent: Wednesday, January 04, 2006 11:02 AM To: [email protected] Subject: Re: [css-d] Vertical Align like table cells with CSS Alec, on Wednesday, January 4, 2006 at 16:40 Alec A. Lazarescu wrote: > I've tried and failed to align text, an image, and a button neatly > vertically using CSS. I would rather not force a height on a > container around them as that's not very flexible if the font or image > size changes, text wraps, etc. It needs to work in IE6/FireFox/Safari. > Seems like a trivial thing with tables. Did you try to adjust the line-height? That should work. regards Martin ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
