Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE HTML>
<html>
<head>
<title>CSS Multi-column Layout Test: multi-column element with zero height</title>
<!--
Based on
by Opera Software ASA.
-->
<style>
html { overflow: hidden } /* suppress scrollbar reflows */
div#multi-column
{
height: 1px;
width: 200px;
display: inline-block;
background: #0c0;
}
</style>
</head>
<body style="height: 300px; width: 300px;">
<p>Below should be a 1px tall and 200px wide green line:</p>
<div style="display: inline">
<div id="multi-column">
</div>
</div>
</body>
</html>