multicol-basic-005-ref.xht (628B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>multicol-000</title> 5 <link rel="author" title="Hakon Wium Lie" href="mailto:howcome@opera.com"/> 6 <style type="text/css"> 7 div { 8 margin: 1em auto; 9 background: yellow; 10 border: thin solid black; 11 width: 600px; 12 columns: 3; 13 column-gap: 0; 14 column-rule: none; 15 } 16 </style> 17 </head> 18 <body> 19 <div>This multicol element should have a width of 600 pixels and the content should be flowed into three columns with no gap or rule between them.</div> 20 </body> 21 </html>