How about using a table to fill the and use text formatting:
<div style="border:1px solid #ff0000; height:100px; width:100px;" >
<table width="100%" height="100%"><tbody><tr>
<td valign="bottom" align="center">A Text</td>
</tr></tbody></table>
</div>