Change to use kipp's new PRE cols attribute for wrapping.

This commit is contained in:
sfraser%netscape.com 1999-04-02 00:02:30 +00:00
Родитель a84dcaa401
Коммит 95d8d44c11
1 изменённых файлов: 12 добавлений и 9 удалений

Просмотреть файл

@ -6,8 +6,8 @@
/* This style sheet should be in a seperate file */
BODY {
font-family: monospace;
white-space: pre;
/* font-family: monospace; */
/* white-space: pre; */
background-color: #FFFFFF;
/* width: 450px; this is a bogus, hard-coded value */
margin: 4px 4px 4px 4px;
@ -20,16 +20,19 @@ BODY {
<body>
<p>Typed text will wrap to the window width. To get
wrapping at a fixed width, play with the BODY style in this HTML
file.</p>
<p>72 char width (for reference only)</p>
<p>|----------------------------------------------------------------------|</p>
<pre cols="80">
80 char width (for reference only)
|----------------------------------------------------------------------------|
<p>Welcome to the Gecko Editor Test Bed</p>
This entire body is in a &lt;PRE&gt; tag, wrapped to 80 columns.
<P>Try typing something...</P>
Typed text will wrap to the window width. To get wrapping at a fixed width, play with the BODY style in this HTML file.
Welcome to the Gecko Editor Test Bed
Try typing something...
</pre>
</body>
</html>