- From: Alan Gresley <alan@css-class.com>
- Date: Wed, 02 Jul 2008 16:41:56 +1000
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- CC: Brad Kemper <brkemper@comcast.net>, "www-style@w3.org" <www-style@w3.org>
Boris Zbarsky wrote:
>
> Brad Kemper wrote:
>> How about this:
>>
>> br { height:0; display:block; }
>
> Does that do the right thing with inline borders?
>
> As far as that goes, does it do the right thing with clearance?
>
> What should happen if the <br> is floated?
>
> -Boris
Boris, why would an author bother floating a <br> element?
We use them because they act as a block element inflow by creating a
line break or we use then to clear floats. I would go one step further with.
br { height:0; display:block; float:none; position:static; clear:both }
Alan
Received on Wednesday, 2 July 2008 06:43:02 UTC