HTML: Fill available width

Posted by Thanatos on Stack Overflow See other posts from Stack Overflow or by Thanatos
Published on 2010-12-24T04:04:19Z Indexed on 2010/12/24 4:54 UTC
Read the original article Hit count: 220

Filed under:
|

What I'm trying to do is this:

XXX Some text here YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY ZZZZZZZZZ

Body body body                                          Sidebar!
Body body body                                          Sidebar!
Body body body                                          Sidebar!

X, Y, and Z are images (3 images total). Y can stretch along the X axis, and does so above, to fill the available space. (But doesn't cause "Some text here" to get squished and start breaking into multiple lines)

I'd like to keep the "Some text here" part in one line. A line breaking here will not end happily.

Is this possible, or should I simplify the layout around HTML?

© Stack Overflow or respective owner

Related posts about html

Related posts about css