HTML CSS examples for CSS Widget:Menu
CSS - Menu using <ul>
<html> <head> <title>Lorem ipsum dolor sit</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> body {<!--from w w w .j a va2s . c o m--> font:14px/2.3 'segoe ui', sans-serif; } a { color:Chartreuse; text-decoration:none; } a:hover { text-decoration:underline; } ul#menu { margin:0; padding:0; overflow:hidden; } ul#menu li { float:left; margin-left:-2px; padding:0 3em; border-left:2px solid yellow; } </style> </head> <body> <ul id="menu"> <li> <a href="/">Lore</a> </li> <li> <a href="/about/">Lorem</a> </li> <li> <a href="/contact/">Lorem i</a> </li> </ul> </body> </html>