CSS táblázat

A display: table; display: table-row; display: table-cell; alkalmazása:

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

 

 

http://snook.ca/archives/html_and_css/getting_your_di

B logbook : PHP | Javascript | Laravel | CodeIgniter | VueJs | ReactJs | WordPress