Friday, March 2, 2012

Using your DIVs as Tables

Enjoy your coding!!!

<html>
<head>
<style>
  #container {
    display: table;
    }
  #row  {
    display: table-row;
    }

  #left, #right, #middle {
    display: table-cell;
    }
</head>
<body>
<div id="container">
  <div id="row">
   <div id="left">
     Left
   </div>
   <div id="middle">
      Middle
   </div>
   <div id="right">
       Right
   </div>
 </div>
</div>
</body>
</html>