- From: <leslie.brown@evidian.com>
- Date: Thu, 9 Jun 2005 22:29:23 +0200
- To: www-style@w3.org
> One advantage of having to deal with the content position > (content-vertical-align) instead of position relative to the parent > (margin: auto) is that, we would not *need* to have a parent to adjust to. It also suggests another possibility: "content-vertical-align:distribute" "distribute" would aim to achieve a result like this: 1) Image + three (or more) blocks ---------------Container----------------- XXXXXXXXXXXXXXXXX Block flush with XXXXX IMAGE XXXXX top of image XXXXX IMAGE XXXXX XXXXX IMAGE XXXXX XXXXX IMAGE XXXXX The spage above XXXXX IMAGE XXXXX this middle block XXXXX IMAGE XXXXX is the same as XXXXX IMAGE XXXXX the space below XXXXX IMAGE XXXXX XXXXX IMAGE XXXXX XXXXX IMAGE XXXXX This block is flush XXXXX IMAGE XXXXX with the bottom of XXXXXXXXXXXXXXXXX the image. -------------End of container------------ or like this 2) Image + paragraph ---------------Container----------------- XXXXXXXXXXXXXXXXX Text is neatly XXXXX IMAGE XXXXX XXXXX IMAGE XXXXX spread over XXXXX IMAGE XXXXX XXXXX IMAGE XXXXX the vertical XXXXX IMAGE XXXXX XXXXX IMAGE XXXXX space between XXXXX IMAGE XXXXX XXXXX IMAGE XXXXX the top and XXXXX IMAGE XXXXX XXXXX IMAGE XXXXX bottom of XXXXX IMAGE XXXXX XXXXXXXXXXXXXXXXX the image. -------------End of container------------ But I imagine implementation would be difficult even for these two simplest (?) cases. Les Brown
Received on Thursday, 9 June 2005 20:29:30 UTC