We would like to know how to align text to right bottom corner.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
ul {<!-- w w w . j ava 2 s. c o m-->
list-style: none;
line-height: 0.8
}
li {
display: block;
width: 240px;
height: 200px;
background: #ccc;
padding: 2px;
border: 1px solid #000;
position: relative;
margin: 8px 0
}
li .last {
position: absolute;
bottom: 2px;
right: 2px
}
</style>
</head>
<body>
<ul>
<li id="l1">
<p class="first">Text 1</p>
<p class="last">Text 2</p>
</li>
<li id="l2">
<p class="first">Text 1</p>
<p class="last">Text 2</p>
</li>
</ul>
</body>
</html>
The code above is rendered as follows: