a div within table behave like table element code example
Example: a div within table behave like table element
#container {
display: table;
}
#row {
display: table-row;
}
#left, #right, #middle {
display: table-cell;
}