>>All methods I tried will align the images of a row either on the top or[color=blue][color=green]
>>on the bottom of a row, not at the middle.[/color][/color]
[color=blue]
> Only bottom aligning will produce proper wrapping.[/color]
Can you explain why that should be the case? Wrapping should occur if
the sum of widths of all elements in the current row (including margins
etc.) is greater than the available horizontal space. Please tell me
what difference *vertical* alignment makes here.
[color=blue][color=green]
>>Basically, I want to have the effect I would get if I put each image in
>>a table cell with vertical-align=middle set on the tds (+ the
>>automatical change of columns when the available width changes).[/color][/color]
[color=blue]
> Stop wanting that is probably the best advice.[/color]
Nope, don't think so. If I leave out the wrapping, it's even possible
with plain HTML. And there are 2 different solutions, as Brucie and
Lauri Raittila showed.
[color=blue]
> Second best would be to wrap each image in a inline-block level
> container with it's height fixed @ the same as the tallest image.[/color]
That would require me to know the height of the tallest image. Although
I might be able to retrieve this piece of information, I'm looking for a
general, non-case-specific method.
[color=blue]
> Beware that you will run into loads of problems when trying to do that.[/color]
[Broken browser report snipped]
What I do care about is the CSS specification, nothing else ;).
Hopefully no browser-specific hacks will ever find their way into my code.
Florian
--
I believe in God, only I spell it Nature.
(Frank Lloyd Wright)
[------------
http://www.torfbold.com - POV-Ray gallery ------------]