Previous Message
Next Message

float problem in FireFox

Sent by Philippe Wittenbergh on 18 June 2005 02:02


On 18 Jun 2005, at 6:52 am, Bruno Fassino wrote:

> The only workaround that I know is:
> li {
>   -moz-float-edge: content-box;
> }

Which *is* a good solution.
> which makes the <li>s to behave correctly in presence of floats. 
> That's a
> Mozilla proprietary property so unfortunately it doesn't validate.  
> You may
> prefer restructuring a bit your markup to avoid this situation.  Maybe 
> there
> are other workarounds, I don't know.

Given that there is no padding nor borders, one can also use
li {
	width:100%;
}
That worked for me when I originally had to work around this bug.
But you must hide that from older browsers like IE Mac and Win.


Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: