HTML CSS examples for CSS Layout:Layout
Three column layout with narrow middle column
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #footer {<!--from w ww .j a v a 2 s . c o m--> background-color:Chartreuse; width:100%; height:auto; margin:0; padding:0; left:0; clear:both; opacity:0.9; } #tab_brand { height:100%; width:100px; margin:0 auto; border:2px solid yellow; } #tab_brand ul li img { padding:6px; } #tab_brand ul { display:inline-table; list-style:none; height:auto; width:auto; } </style> </head> <body> <div id="footer"> <div id="tab_brand"> <ul> <li> <a href="#"> <img src="https://www.java2s.com/style/demo/Opera.png"> </a> </li> </ul> <ul> <li> <a href="#"> <img src="https://www.java2s.com/style/demo/Opera.png"> </a> </li> </ul> </div> </div> </body> </html>