Re: [css-d] Vertical Align like table cells with CSS

2006-01-04 Thread Alec A. Lazarescu

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: css-d@lists.css-discuss.org
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/


Re: [css-d] Vertical Align like table cells with CSS

2006-01-04 Thread Martin Heiden
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-d] Vertical Align like table cells with CSS and float problem

2005-12-23 Thread Alec A. Lazarescu
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.

Some texthttp://ak.imgfarm.com/ex/my/meHdrBtnCls.gif";
border="0">
Some texthttp://ak.imgfarm.com/ex/my/meHdrBtnCls.gif";
border="0">

Also IE puts an extra line space after my clearing div before the table
and FireFox doesn't.  How do I stop the float consistently in both
browsers?

Thanks,

Alec
__
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/