Re: [WSG] How to align images at the *bottom* with CSS?

2006-09-13 Thread Matthew Pennell
On 9/13/06, Antonio [EMAIL PROTECTED] wrote: I have a block with an smaller image inside. I'd liked to align the image at the *bottom* of the block... How can I do it with CSS? #block { position: relative; } #block img { position: absolute; bottom: 0; }

Re: [WSG] How to align images at the *bottom* with CSS?

2006-09-13 Thread Tom Livingston
On 9/13/06 12:16 PM, Antonio [EMAIL PROTECTED] wrote: I have a block with an smaller image inside. I'd liked to align the image at the *bottom* of the block... How can I do it with CSS? If it is not important content - important info as opposed to just decorative - make it a background

RE: [WSG] How to align images at the *bottom* with CSS?

2006-09-13 Thread Ted Drake
Try vertical-align:bottom As in p img {vertical-align:bottom} Ted -Original Message- Hi everybody, I have a block with an smaller image inside. I'd liked to align the image at the *bottom* of the block... How can I do it with CSS? Thanks for your help! Antonio

Re: [WSG] How to align images at the *bottom* with CSS?

2006-09-13 Thread Antonio
Thank you very much Matthew, Tom and Ted for your answer. The Matthew's solution is OK for me. ;-) Antonio Le 13 sept. 06 à 19:05, Matthew Pennell a écrit : On 9/13/06, Antonio [EMAIL PROTECTED] wrote: I have a block with an smaller image inside. I'd liked to align the image at the *bottom*

RE: [WSG] How to align images at the *bottom* with CSS?

2006-09-13 Thread Ted Drake
My suggestion ( p img {vertical-align:bottom }) makes it easier to align an image with a string of text. Matthew's is better for placing an image in a block, which is what your were asking for. However, I’d suggest avoid vague positioning. i.e. don’t use background-position:bottom. Use