W3C home > Mailing lists > Public > www-style@w3.org > January 2000

Re: Inline h*ll

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Tue, 1 Feb 2000 00:05:16 +0000 (GMT)
To: Matthew Brealey <thelawnet@yahoo.com>
cc: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.10002010002280.7787-100000@mary.bath.ac.uk>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:03 GMT