You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
programming-examples/css/Absolute position top right...

39 lines
983 B
HTML

<!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' xml:subLang='en'>
<head>
<title>Absolute position top right bottom</title>
<style rel='stylesheet' type='text/css'>
body {
background: green;
margin: 5;
padding: 5;
}
p {
background: orange;
border: 1px solid blue;
padding: 5px;
margin: 5px;
}
p#absolute {
position: absolute;
top: 13;
right: 13;
bottom: 13;
}
</style>
</head>
<body>
<p>
True love is just like rain; it touches us all.<br>
Anonymous
</p>
<p id='absolute'>
Love grows by giving.<br>
The love we give away is the only love we keep.<br>
The only way to retain love is to give it away.<br><br>
Elbert Hubbard
</p>
</body>
</html>