RetroZilla/layout/html/tests/printer/misc/abs_pos.html

45 lines
828 B
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Absolutely Positioned Element</title>
</head>
<body>
<a href=link.html>Link</a>
This is some body text.
<div style="background-color:lightgray;position:absolute;top:-50px;left:-50px;width:500px;height:100px;border: 2px inset grey;">
line 1<br>
line 2<br>
line 3<br>
line 4<br>
</div>
<div style="background-color:lightgray;position:absolute;top:850px;left:300px;width:500px;height:300px;border: 2px inset grey;">
line 1<br>
line 2<br>
line 3<br>
line 4<br>
<hr>
line 5<br>
line 6<br>
line 7<br>
line 8<br>
line 9<br>
line 10<br>
</div>
line 1<br>
line 2<br>
line 3<br>
line 4<br>
line 5<br>
line 6<br>
line 7<br>
line 8<br>
line 9<br>
line 10<br>
line 11<br>
line 12<br>
line 13<br>
line 14<br>
line 15<br>
</body>