Search This Blog

Saturday, March 9, 2013

How to make act Div as Table

 Welcome to Designers Dairy blog here i have posted How to make act Div as Table .


Style Sheet:

<style type="text/css">
.container {
  display: table;
}

.row {
  display: table-row;
}

.cell {
  display: table-cell;
  width: 100px;
  height: 100px;
  border: 1px solid blue;
  padding: 1em;
}
</style>

Html Code:

<div class="container">
<div class="row">
         <div class="cell">CELL A</div>
        <div class="cell">CELL B</div>
        <div class="cell">CELL C</div>
</div>
 

No comments:

Post a Comment

Validating to select in sequencial order using angular

    < input type = "checkbox" (change) = "handleSelectTaskItem($event, taskItem)" [checked] = " taskItem . i...