Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Der Titel des Dokuments</title>
<style>
.content {
position: relative;
height: 400px;
border: 1px solid #666666;
}
.content div {
position: absolute;
padding: 10px;
}
.content a {
color: darkblue;
}
.blue {
right: 20px;
bottom: 0;
background: #1c87c9;
}
.green {
top: 10px;
left: 15px;
background: #8ebf42;
}
</style>
</head>
<body>
<div class="content">
<div class="blue">
<p>Das ist ein Absatz innerhalb des Tages div.</p>
<a href="#">Das ist ein Hyperlink innerhalb des Tages div.</a>
<ul>
<li>Irgendein Listeneintrag.</li>