Adding a label to the bottom right corner of a cell - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Cell

Description

Adding a label to the bottom right corner of a cell

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
div.outer-div {
   position:relative;
   height:201px;
   border:2px solid Chartreuse;
   margin:6px;
}

div.inner-div {
   position:absolute;
   bottom:0px;
   right:0px;
}
</style> <!--   ww  w.  java 2s  .c  o m-->
 </head> 
 <body> 
  <div class="outer-div"> 
   <div class="inner-div"> 
    <span>Hello World!</span> 
   </div> 
  </div>  
 </body>
</html>

Related Tutorials