On Wednesday, July 23, 2014, John <j...@coffeeonmars.com> wrote:

> Is there a way to make an image inside a parent div bottom-align? Or
> top-align for that matter?
>
> my method has been to give margin-top values to the image until it lands
> where I want but it’s kind of silly if there’s a declaration that will have
> it go to the bottom and be done with it!
>
> I have tried vertical-align:bottom; but this either isn’t working on my
> page or I mis-understand the implementation.
> tried on both image, then on its parent; neither has an effect.
>
>

Not knowing your exact situation, could you try display:table; and
vertical-align:bottom; on the parent ?


-- 

Tom Livingston | Senior Front-End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to