CSS allows to attach a table behaviour to any structure that is organized similarly to a table using the display property.

tableattaches a table behaviour to an element
table-rowattaches a table row behaviour to an element
table-cellattaches a table cell behaviour to an element

The table structure is based on the generic <div> and <span> blocks.
div span{border: 1px solid #000000; padding: 5px; margin:5px;}
div {display:table;}
div div{display:table-row;}
div div span{display:table-cell;}
Related Tutorial
Follow Us
https://www.facebook.com/Rookie-Nerd-638990322793530 # # # # #