in comp.infosystems.
www.authoring.stylesheets, Listerofsmeg wrote:
Hi all,
Is this possible? I have a simple DIV with some text and an image inside.
I want the text to wrap around the image, but I want the bottom of the
image to sit on the bottom of the DIV.
I know the size of the image, but not the size of the DIV.
Easy:
img {position:relative;top:-50px-;float:right;}
<div>text<img height=50></div>
I have no idea if it works. Most browsers seem to move floated box
around, when relatively positioned, but they should first do the
positioning and then floating.
But I could be missinterpreting the spec, this is 3am here and I didn't
check anything well.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>