multicol-width-002

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-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-002-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: 12em;
20 
21   column-gap: 0;
22   column-width: 6em;
23   }
24 
25   span {color: blue;}
26   </style>
27  </head>
28  <body>
29   <div>
30   bl ac bl ac
31     <span>
32     bl ue bl ue
33     </span>
34   </div>
35  </body>
36 </html>