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 Multi-column Layout Test: column-rule-width</title>
5 <link rel="author" title="Opera Software ASA" href="http://www.opera.com/">
6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> <!-- 2013-08-14 -->
7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#crw" title="4.4. 'column-rule-width'">
8 <link rel="match" href="reference/multicol-rule-fraction-001-ref.htm">
9 <meta name="flags" content="ahem">
10 <style type="text/css">
11 div
12 {
13 background-color: yellow;
14 border: gray solid 1em;
15 color: black;
16 font: 1.25em/1 Ahem;
17 orphans: 1;
18 widows: 1;
19 width: 14em;
20
21 column-count: 4;
22 column-gap: 1em;
23 column-rule-color: blue;
24 column-rule-style: solid;
25 column-rule-width: 0.9em;
26 }
27
28 /*
29
30 N == 4;
31
32 W == max(0, (available-width - ((N - 1) * column-gap)) / N);
33 W == max(0, (14em - ((4 - 1) * 1em)) / 4);
34 W == max(0, (14em - (3 * 1em)) / 4);
35 W == max(0, (14em - (3em)) / 4);
36 W == max(0, (11em) / 4);
37 W == max(0, 2.75em);
38 W == 2.75em;
39
40 */
41 </style>
42 </head>
43
44 <body>
45
46 <div>
47 1s cl
48 2n cl
49 3r cl
50 4t cl
51 </div>
52
53 </body>
54 </html>