multicol-width-count-001

column-count and column-width (basic)

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
ahem

Source

 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-count and column-width (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-23 -->
 7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#the-number-and-width-of-columns" title="3. The number and width of columns">
 8   <link rel="match" href="reference/multicol-width-001-ref.htm">
 9   <meta name="flags" content="ahem">
10   <style type="text/css">
11   body
12   {
13   font: 1.25em/1 Ahem;
14   width: 30em;
15   }
16 
17   div
18   {
19   background-color: yellow;
20   color: black;
21   orphans: 1;
22   widows: 1;
23 
24   column-count: 5;
25   column-gap: 0;
26   column-width: 6em;
27   }
28   </style>
29  </head>
30  <body>
31   <div>
32 	d da dam dame damer
33 	d da dam dame damer
34 	d da dam dame damer
35 	d da dam dame damer
36 	d da dam dame damer
37 	d da dam dame damer
38 	d da dam dame damer
39 	d da dam dame damer
40 	d da dam dame damer
41   </div>
42  </body>
43 </html>