Re: Inline h*ll

On Fri, 28 Jan 2000, Matthew Brealey wrote:

>> Nothing normative, at any rate. You can treat BR as an empty inline
>> element with this style:
>> 
>>    BR:before {
>>       content: '\A';
>>       white-space: pre;
>>    }
> It could equally well be done as BR:after, thereby causing drastically
> different results, which demonstrates why it isn't a good idea to
> treat it in this manner at all.

Why different results? Since there is no content (it is an empty element),
the :before and :after pseudo-elements would have basically the same
effect.

-- 
Ian Hickson                            ("`-''-/").___..--''"`-._   
http://www.bath.ac.uk/%7Epy8ieh/        `6_ 6  )   `-.  (     ).`-.__.`)
                                        (_Y_.)'  ._   )  `._ `. ``-..-' fL
Member, Mozilla Quality Assurance     _..`--'_..-_/  /--'_.' ,'
Browser Standards Compliance Team    (il).-''  (li).'  ((!.-'    

Received on Monday, 31 January 2000 19:09:06 UTC