On 1/28/10 11:01 AM, Sean O' Shea wrote:
> Hi all,
>
> I had a quick question regarding bottom aligning some images.
>
> The page in question looks like this:
>http://whatsthepointeh.appspot.com/bottom-align/eyefi/tests/widget/robot/DayView.html
>
>
> (Give it a few seconds to fully render - there's quite a bit of
> JavaScript on this page)
>
> I have landscape and portrait photos that need to be displayed and
> I'd like to be able to bottom align all photos without setting an
> absolute height on the individual photo divs (these photo divs have
> classes "file dojoDndItem"). I've tried using vertical-align on the
> divs, but that doesn't seem to work - any ideas on whether what I
> want is accomplishable?
>

Well, as you are trying to make all the boxes the same height, I don't
know how you'd do that without specifying the height - the same for each
box. You could do that with JavaScript.

For the CSS part, I suggest looking at one of Bruno Fassino's famous
photo galleries. This one has the photos centered, but changing the
image's vertical alignment from 'middle' to 'bottom' should do the trick.

See -

http://www.brunildo.org/test/ImgThumbIBL2b.html

Cordially,
David
--

______________________________________________________________________
css-discuss [[email protected]]
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