Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-multicol/multicol-basic-006.xht - WPT Dashboard Interop Dashboard
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<head>
<title>CSS Multi-column Layout Test: column-count (basic)</title>
<link rel="author" title="Hakon Wium Lie" href="mailto:howcome@opera.com"/>
<link rel="match" href="reference/multicol-basic-005-ref.xht"/>
<style type="text/css">
div {
margin: 1em auto;
background: yellow;
border: thin solid black;
width: 600px;
column-count: 3;
column-gap: 0;
column-rule: none;
}
</style>
</head>
<body>
<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>
</body>
</html>