1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: CSS Inline Box Model: Wrapping Spaces Outside Inline Elements</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/004.xml" type="application/xhtml+xml">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes">
8 <meta name="flags" content="interact">
9 <style type="text/css">
10 span { color: blue; }
11 </style>
12 </head>
13 <body>
14
15 <p>Resize your window slowly from a wide size to a narrow size. The
16 Xs below should always be perfectly aligned in a grid.</p>
17
18 <p>
19 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
20 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
21 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
22 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
23 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
24 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
25 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
26 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
27 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
28 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
29 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
30 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
31 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
32 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
33 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
34 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
35 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
36 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
37 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
38 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
39 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
40 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
41 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
42 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
43 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
44 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
45 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
46 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
47 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
48 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
49 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
50 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
51 <span>X</span> <span>X</span> <span>X</span> <span>X</span>
52 </p>
53
54 </body>
55 </html>