Thanks for the prompt reply. So, you are saying irrespective of float or not, it will still remain to be Inline? or though it changes to be a Block, it still behaves same.
On Wed, Mar 7, 2012 at 10:43 AM, Boris Zbarsky <[email protected]> wrote: > On 3/6/12 11:44 PM, Sravan wrote: > >> 1. When float style is applied on label, should'nt it be treated as block >> instead of inline(default)? >> > > Yes. It is. You can just style it with display:block explicitly to see > that the rendering is still the same, because legend will just do > shrink-wrap sizing. So putting another shrink-wrap block with no > interesting styles inside it won't change the behavior.... > > -Boris > ______________________________**_________________ > dev-tech-layout mailing list > [email protected].**org <[email protected]> > https://lists.mozilla.org/**listinfo/dev-tech-layout<https://lists.mozilla.org/listinfo/dev-tech-layout> > _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

