Re: [css-d] overflow:hidden abandons float

2006-09-22 Thread Andy Harrison
On 9/22/06, Manuel Razzari <[EMAIL PROTECTED]> wrote: > Been playing with your problem for an hour and I'd say it's > impossible, because overflow:hidden-ing the text is the same as > floating it, see > http://www.w3.org/TR/CSS21/visuren.html#block-formatting > > What about using javascript to dete

Re: [css-d] overflow:hidden abandons float

2006-09-22 Thread Manuel Razzari
Been playing with your problem for an hour and I'd say it's impossible, because overflow:hidden-ing the text is the same as floating it, see http://www.w3.org/TR/CSS21/visuren.html#block-formatting What about using javascript to determine if the text is taller than the float, and switching between

Re: [css-d] overflow:hidden abandons float

2006-09-22 Thread Arian Hojat
> I've got a scenario where I want to dynamically change the number of > lines of text that are visible, while it wraps around a float. The > problem is that, once I make the overflow property of an adjacent > block "hidden", the float is excluded from the block (i.e., the block > decreases its wid