I am facing problem in the floating some text at the bottom of a div layer. How can I do this?
can anyone help me, Here is the code of my html with inline css
CODE:
<html>
<head>
<t-itle>Bottom align text</title>
<s-tyle type="text/css">
.divParent{
height:400px;
background-color: green;
}
.top{
vertical-align: top;
}
.bottom{
vertical-align: bottom;
}
</style>
</head>
<body>
<div class="divParent">
<p class="top">This text is at the top</p>
<p class="bottom">This text is at the bottom</p>
</div>
</body>
</html>