CSS does not have an argument on the layout of the text that is aligned to the bottom of the container. A good way to use it is also better. is to use the Position property to solve, look at the following code, with the position of the relative and absolute positioning function is also easy to achieve, the text near the div lower part of the alignment, and close to the distance can also be accurate to the pixel, they can adjust, is not very good?
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en"
"Http://www.w3.org/TR/html4/loose.dtd" >
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<title> Untitled Document </title>
<style type= "Text/css" >
#txt {
height:300px;
width:300px;
border:1px solid #333333;
Text-align:center;
Position:relative
}
#txt p{
position:absolute;
bottom:0px;
padding:0px; &NBSP
margin:0px
}
</style>
<body >&NBSP
<div id=txt>
<p>aadsad</p>
</div>
</body >&NBSP