multicol-inherit-003.xht (1044B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <title>multicolumn | inheritance</title> 6 <link rel="author" title="Opera Software ASA" href="http://www.opera.com/"/> 7 <link rel="help" href="http://www.w3.org/TR/css3-multicol/#the-number-and-width-of-columns"/> 8 <link rel="match" href="multicol-inherit-3-ref.xht"/> 9 <meta name="flags" content="ahem"/> 10 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 11 <style type="text/css"><![CDATA[ 12 body { 13 width: 75em; 14 } 15 body>div { 16 height: 2em; 17 column-width: 8em; 18 } 19 div { 20 font-family: Ahem; 21 font-size: 1em; 22 line-height: 1em; 23 color: black; 24 background: yellow; 25 orphans: 1; 26 widows: 1; 27 } 28 div>div { 29 margin: 0 1em 1em; 30 } 31 div+div { 32 color: blue; 33 } 34 div+div+div { 35 color: pink; 36 } 37 ]]></style> 38 </head> 39 40 <body> 41 42 <div> 43 <div> 44 xx xx 45 xx xx 46 xx xx 47 xx xx 48 </div> 49 <div> 50 xx xx 51 xx xx 52 xx xx 53 xx xx 54 </div> 55 <div> 56 xx xx 57 xx xx 58 xx xx 59 xx xx 60 </div> 61 </div> 62 63 </body> 64 </html>