gecko-dev/layout/reftests/abs-pos/table-3.html

18 строки
580 B
HTML
Исходник Обычный вид История

2011-06-11 03:02:23 +04:00
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.table {display: table; position: relative; left:50px; top: 50px; outline: red dotted 1px;width: 200px; height:200px;}
.lc {position: absolute; left:0px; top:0px;border: green dotted 1px;width: 20px; height:20px;}
.rc {position: absolute; right:0px; top:0px;border: blue dotted 1px;width: 20px; height:20px;}
.brc {position: absolute; right:0px; bottom:0px;border: blue dotted 1px;width: 20px; height:20px;}
</style>
</head>
<body>
<div class="table">
<div class="lc"></div>
<div class="brc"></div>
</div>
</body>
</html>