Brian Kardell :: @bkardell :: hitchjs.com On Oct 17, 2012 8:28 AM, "Philippe Wittenbergh" <e...@l-c-n.com> wrote:
> > In a stylesheet that I’ve temporarily inherited I see multiple times the > following code (and the stylesheet is otherwise reasonably well written): > > E { > display: inline-block; > float: left; > /* .. more .. */ > } > > Afaict, those are all applied to inline elements, no width is specified. > On the face of it, that code is completely non-sensical (float will make > the element display: block anyway – CSS 2.1:9.7 [1]). > > The question: does anyone recognizes this as some kind of hack for > whatever browser ? I wouldn’t know what the benefit is, though. > > [1] http://www.w3.org/TR/CSS21/visuren.html#dis-pos-flo > > > Philippe > -- > Philippe Wittenbergh > http://l-c-n.com > > > > > ______________________________________________________________________ > css-discuss [css-d@lists.css-discuss.org] > http://www.css-discuss.org/mailman/listinfo/css-d > List wiki/FAQ -- http://css-discuss.incutio.com/ > List policies -- http://css-discuss.org/policies.html > Supported by evolt.org -- http://www.evolt.org/help_support_evolt/ > ______________________________________________________________________ css-discuss [css-d@lists.css-discuss.org] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/