File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
22<html lang="en">
3- <!-- $Id: text.src,v 2.1 1998-02-10 00:55:31 ijacobs Exp $ -->
3+ <!-- $Id: text.src,v 2.2 1998-02-11 10:42:39 bbos Exp $ -->
44<HEAD>
55<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
66<TITLE>Text</TITLE>
@@ -447,12 +447,20 @@ style sheet.
447447<H2>Text in HTML</H2>
448448<H3>Forcing a line break</H3>
449449
450- <!-- Is this still true? -IJ -->
451- <P> The current CSS2 properties and values cannot describe the
452- behavior of the BR element; the BR element specifies a line break
453- between words. In effect, the element is replaced by a line
454- break. Future versions of CSS may handle added and replaced content,
455- but CSS2-based formatters must treat BR specially.
450+ <p>HTML has a <BR> element that forces a line break. In CSS2, an
451+ explicit line break can be created with the <a href=
452+ "generate.html#before-after-content">`:before' or `:after'</a>
453+ pseudo-elements. The default rule for the BR element of HTML is as
454+ follows:
455+
456+ <pre class="example">
457+ BR:before {content: "\A"}
458+ </pre>
459+
460+ <p>See <a href="generate.html">"Generated content and automatic
461+ numbering"</a> for explanations of the <span class=
462+ "propinst-content">`content'</span> property and the use of the
463+ "\A" escape sequence.
456464
457465</BODY>
458466</HTML>
You can’t perform that action at this time.
0 commit comments