multicol-span-all-001

'column-span' element (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-span' element (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-16 -->
 7   <link rel="help" href="http://www.w3.org/TR/css3-multicol/#column-span" title="6.1. 'column-span'">
 8   <link rel="match" href="reference/multicol-span-all-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: navy;
16   font: 1.25em/1 Ahem;
17   orphans: 1;
18   widows: 1;
19   width: 11em;
20 
21   column-count: 4;
22   column-gap: 1em;
23 
24   /*
25 
26   N == 4;
27 
28   W == 2em;
29 
30   */
31 
32   }
33 
34   span {color: blue;}
35 
36   span + span {color: pink;}
37 
38   h4
39   {
40   background-color: black;
41   color: black;
42   font: inherit;
43   margin: 0;
44 
45   column-span: all;
46   }
47   </style>
48  </head>
49 
50  <body>
51 
52   <div>
53     <span id="top-first-and-second-columns"> bl ue bl ue </span>
54     <span id="top-third-and-fourth-columns"> Pi nk Pi nk </span>
55     <h4> sPana </h4>
56     ab cd ef gh
57     ij kl mn oq
58   </div>
59 
60  </body>
61 </html>