NOTICE: This website is no longer updated or supported - as such many of the techniques used to build it may seem antiquated in the modern day. It is preserved for historical reasons only.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title>Positioning Items</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<style type="text/css">
<!--
#outer {position: absolute;
 left: 100px; top: 50px;
 height: 400px; width: 150px;
 background-color: yellow;}
#inner {position: absolute;
 left: 75px; top: 50px;
 height: 30px; width: 40px;
 background-color: #FFA500;}
#outer2 {position: absolute;
 left: 90%;
 height: 100px; width: 10%;
 background-color: green;
 color: white;}
#outer3 {position: absolute;
 bottom: 10px; right: 150px;
 height: 100px; width: 100px;
 background-color: purple;
 color: white;}
-->
</style>
</head>
<body>

<div id="outer">This is the outer part of the nest.
<span id="inner">This is the inner part of the nest.</span>
</div>

<div id="outer2">Way to the far right at the top</div>

<div id="outer3">
Using the bottom and right properties</div>

</body>

</html>


CLOSE WINDOW | VIEW RENDERED PAGE