...

View Full Version : Overflowing text limitation?



turpentyne
02-12-2012, 07:00 PM
Hopefully this is a quick thing...

If there is a block of text inside a div tag that is set to height:0 and overflow:visible, is it possible to limit the number of lines the text wraps to, when a window is resized.

hopefully that made sense. I tried adding a max-height on the p tag, but that didn't do it. I tried another div that is limited, but that didn't work.

Might be another, better way to do this. I was just hoping I could do it with the parent div at height:0, for layout purposes.

felgall
02-12-2012, 08:47 PM
have you tried adding a max-height alongside the height on the parent div? Possibly also then get rid of the overflow:visible.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum