HTML CSS examples for CSS Layout:Text
Keep text at the right bottom of container
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> div.content {<!--from w w w . j a v a 2 s.c om--> border:2px solid Chartreuse; min-height:551px; position:relative; } div.footer { border:2px solid yellow; height:21px; color:blue; font-size:0.10em; text-align:right; bottom:0; right:0; position:absolute; padding-right:11px; padding-bottom:11px; } </style> </head> <body> <div class="content"> Lorem ips <div class="footer"> Lorem ip </div> </div> </body> </html>