multicol-width-ems-001

multicolumn | column-width

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

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>multicolumn | column-width</title>
 5 <link rel="author" title="Opera Software ASA" href="http://www.opera.com/">
 6 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#the-number-and-width-of-columns">
 7 <link rel="match" href="reference/multicol-width-ems-ref.htm">
 8 <meta name="flags" content="">
 9 <style type="text/css">
10 body {
11 	margin: 0;
12 	width: 40em;
13 }
14 div {
15 	font-family: monospace;
16 	font-size: 1em;
17 	line-height: 1em;
18 	color: black;
19 	background: yellow;
20 	orphans: 1;
21 	widows: 1;
22 
23 	column-width: 8em;
24 	column-gap: 0;
25 }
26 </style>
27 </head>
28 
29 <body>
30 <div>
31 	one two three four
32 	five six seven eight
33 	nineten eleven twelve
34 	thirtn fourtnfiftn sixtn
35 	seventn eightn ninetn twenty
36 	hundred thousand million billion
37 	trillion
38 </div>
39 
40 </body>
41 </html>