Overflow in DIV by wrapping not scrollbars

Posted by VANJ on Stack Overflow See other posts from Stack Overflow or by VANJ
Published on 2010-03-19T19:47:52Z Indexed on 2010/03/19 19:51 UTC
Read the original article Hit count: 465

Filed under:
|

Given a DIV with a fixed width, is there a way to have it use as much vertical space as it needs by wrapping the content (which is plain text)? The CSS "overflow" property provides for scrollbars (overflow:scroll) and chopping content (overflow:hidden) but that's not what I want.

Help? Thanks

© Stack Overflow or respective owner

Related posts about css

Related posts about html