зеркало из https://github.com/mozilla/pjs.git
30 строки
859 B
HTML
30 строки
859 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
|
|
<html lang="en-US">
|
|
<head>
|
|
<title>CSS2 table display types</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|
<link rel="copyright" href="/~dbaron/legal.html">
|
|
<style type="text/css">
|
|
.t { display: table; }
|
|
.trow { display: table-row; }
|
|
.tcol { display: table-column; }
|
|
.tcg { display: table-column-group; }
|
|
.tcell { display: table-cell; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<h2>table-column-group</h2>
|
|
|
|
<div class="t">
|
|
<div class="tcg">
|
|
<div class="tcol"></div>
|
|
<div class="tcol"></div>
|
|
</div>
|
|
<div class="trow">
|
|
<div class="tcell">white</div>
|
|
<div class="tcell">white</div>
|
|
</div>
|
|
</div>
|