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/Div Position layer position...

32 lines
890 B
HTML

<html>
<head>
<style type="text/css">
div.layer1 {position:absolute;
left:100px;
top:100px;
color:red}
div.layer2 {position:absolute;
right:100px;
bottom:100px;
font-family: arial;
color:green;
font-weight:bold}
</style>
</head>
<body>
<div class="layer1">
<h1>Love Sayings</h1>
<p>When love is in excess it brings a man no honor nor worthiness. Euripides </p>
<p>In pious times, ere priestcraft did begin, before polygamy was made a sin. John Dryden </p>
</div>
<div class="layer2">
<p>Love is not enough. It must be the foundation, the cornerstone - but not the complete structure. It is much too pliable, too yielding. Bette Davis </p>
<p>The last time I was inside a woman was when I went to the Statue of Liberty. Woody Allen </p>
</div>
</body>
</html>