CSS: allow image to overflow from a div?

Posted by shoosh on Stack Overflow See other posts from Stack Overflow or by shoosh
Published on 2010-06-15T22:40:29Z Indexed on 2010/06/15 22:42 UTC
Read the original article Hit count: 277

Filed under:
|
|

I want to create the following situation:

+--------------------------------------+-----------------------+
|                                     1|                       |
|  IMAGE IMAGE IMAGE IMAGE IMAGE IMAGE |  TEXT TEXT TEXT       |
|2                                     |                       |
+--------------------------------------+-----------------------+

Everything is included in a div called "caption"
The text is in a div called "textarea"
The image is in a div called "imagearea"

The text area has a fixed width
the image size can change. It should be aligned to the top right (1) and should overflow from the bottom left (2)

How can I do this with CSS?

© Stack Overflow or respective owner

Related posts about html

Related posts about css