- From: Bert Bos <bert@w3.org>
- Date: Wed, 28 Feb 2001 16:50:37 -0500 (EST)
- To: www-style@w3.org
fantasai writes: > Bert Bos wrote: > > So how about: > > > > br {content: "\A"; display: inline} > > > > br[clear] {content: ""; display: block} > > br[clear=left] {clear: left} > > br[clear=right] {clear: right} > > br[clear=all] {clear: both} > > br, br[clear=none] {content: "\A"; display: inline} /*after br[clear]*/ Yes, I forgot clear=none... > Would the following markup present a problem, or do you want to > ignore the possibility? > > <p>content<br> > <br clear="all"> > <br clear="all"> > <br clear="all"> > end</p> Yes, I thought about that. It would indeed present a problem, but I imagined that this is not very common (although you do find the strangest things in HTML documents...) Of course, people should just not use BR at all, but that is a different discussion. Bert -- Bert Bos ( W 3 C ) http://www.w3.org/ http://www.w3.org/people/bos/ W3C/INRIA bert@w3.org 2004 Rt des Lucioles / BP 93 +33 (0)4 92 38 76 92 06902 Sophia Antipolis Cedex, France
Received on Wednesday, 28 February 2001 17:57:33 UTC