|
1 | 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
2 | 2 | <html lang="en"> |
3 | | -<!-- $Id: box.src,v 1.10 1998-03-23 21:25:47 bbos Exp $ --> |
| 3 | +<!-- $Id: box.src,v 1.11 1998-04-06 23:36:40 ijacobs Exp $ --> |
4 | 4 | <HEAD> |
5 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> |
6 | 6 | <TITLE>Box model</TITLE> |
@@ -98,6 +98,7 @@ This example illustrates how margins, padding, and borders |
98 | 98 | interact. The example HTML document: |
99 | 99 |
|
100 | 100 | <PRE class="html-example"> |
| 101 | +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> |
101 | 102 | <HTML> |
102 | 103 | <HEAD> |
103 | 104 | <STYLE type="text/css"> |
@@ -200,7 +201,9 @@ value type, which may take one of the following values: |
200 | 201 | <dd>Specifies a fixed width. |
201 | 202 | <dt><span class="value-inst-percentage"><strong><percentage></strong></span> |
202 | 203 | <dd>Specifies a percentage width. The percentage is calculated |
203 | | -with respect to the generated box's <a href="visuren.html#containing-block">containing block</a>. |
| 204 | +with respect to the <em>width</em> of |
| 205 | +the generated box's |
| 206 | +<a href="visuren.html#containing-block">containing block</a>. |
204 | 207 | <dt><strong>auto</strong> |
205 | 208 | <dd>See the section on <a href="visudet.html#box-width">box width calculations</a> |
206 | 209 | for behavior. |
@@ -327,7 +330,8 @@ name="value-def-padding-width"><strong><padding-width></strong> |
327 | 330 | <dt><span class="value-inst-percentage"><strong><percentage></strong></span> |
328 | 331 | <dd>Specifies a percentage width. |
329 | 332 | The percentage is calculated |
330 | | -with respect to the generated box's <a href="visuren.html#containing-block">containing block</a>. |
| 333 | +with respect to the <em>width</em> of the |
| 334 | +generated box's <a href="visuren.html#containing-block">containing block</a>. |
331 | 335 | </dl> |
332 | 336 |
|
333 | 337 | <P>Unlike margin properties, values for padding values cannot be |
|
0 commit comments