HTML CSS examples for CSS Layout:4 Column
Create a 4-column, liquid footer
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #footer .column {<!--from w w w . ja v a 2s . c om--> float: left; width: 25%; background: red; } #footer .column div { margin: 10px; height: 100px; background: blue; } </style> </head> <body> <div id="footer"> <div class="column"> <div></div> </div> <div class="column"> <div></div> </div> <div class="column"> <div></div> </div> <div class="column"> <div></div> </div> </div> </body> </html>