Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!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: columns as 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"/>
<link rel="help" href="https://www.w3.org/TR/css3-multicol/#cc"/>
<style type="text/css">
div {
margin: 1em auto;
background: yellow;
border: thin solid black;
width: 600px;
columns: 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>