blob: 15d365cfcc6dcf766f3b0fead805ef69d946570b [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>multicolumn | column-rule</title>
<link rel="author" title="Opera Software ASA" href="http://www.opera.com/"/>
<style type="text/css"><![CDATA[
body {
margin: 0;
}
div {
font-family: ahem;
font-size: 1em;
line-height: 1em;
color: black;
background: yellow;
margin: 1em;
border: 1em solid gray;
width: 12em;
height: 2em;
position: relative;
widows: 1;
orphans: 1;
}
#pink {color: pink;}
#orange {color: orange;}
#purple {color: purple;}
#grey {color: grey;}
span {
display: block;
position: absolute;
}
#orange {
left: 5em;
top: 0;
}
#purple {
left: 0;
top: 1em;
}
#grey {
left: 5em;
top: 1em;
}
]]></style>
</head>
<body>
<div>
<span id="purple">xxxx</span>
<span id="orange">xxxx</span>
<span id="grey">xxxx</span>
<span id="pink">xxxx</span>
</div>
</body>
</html>