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-color (basic)</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/#column-rule" title="4.5 'column-rule'">
8 <link rel="match" href="reference/multicol-rule-color-001-ref.htm">
9 <meta name="flags" content="ahem">
10 <style type="text/css">
11 div
12 {
13 border: gray solid 1em;
14 color: lime;
15 font: 1.25em/1 Ahem;
16 orphans: 1;
17 widows: 1;
18 width: 14em;
19
20 column-count: 4;
21 column-gap: 1em;
22 column-rule-color: blue;
23 column-rule-style: solid;
24 column-rule-width: 1em;
25 }
26
27 /*
28
29 N == 4;
30
31 W == max(0, (available-width - ((N - 1) * column-gap)) / N);
32 W == max(0, (14em - ((4 - 1) * 1em)) / 4);
33 W == max(0, (14em - (3 * 1em)) / 4);
34 W == max(0, (14em - (3em)) / 4);
35 W == max(0, (11em) / 4);
36 W == max(0, 2.75em);
37 W == 2.75em;
38
39 */
40
41 span {color: black;}
42 </style>
43 </head>
44
45 <body>
46
47 <div>
48 <span>1s cl</span>
49 <span>2n cl</span>
50 <span>3r cl</span>
51 <span>4t cl</span>
52 </div>
53
54 </body>
55 </html>