HTML CSS examples for CSS Widget:Menu
Centering footer menu
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> #footer_menu {<!-- ww w . j ava 2 s .c om--> text-align:center; border:3px solid Chartreuse; background-color:yellow; } #footer_menu ul { width:auto; overflow:hidden; display:inline-block; } #footer_menu ul li { font-family:Arial, Helvetica, sans-serif; font-size:15px; text-align:center; float:left; } #footer_menu ul li a { color:blue; font-weight:bold; display:block; text-decoration:none; line-height:39px; padding:0px 26px; } ul.center { text-align:center; } </style> </head> <body> <div id="footer_menu"> <ul> <li> <a href="/search">Lorem </a> </li> <li> <a href="/pages/about-us">Lorem ip</a> </li> <li> <a href="/pages/faq">Lor</a> </li> <li> <a href="/pages/terms">Lorem</a> </li> <li> <a href="/pages/contact-us">Lorem i</a> </li> </ul> </div> </body> </html>