HTML CSS examples for CSS Widget:Nav Bar
Get navigation menu links to display inline
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> .topmenu li {<!--from w w w . j av a2 s . co m--> float:left; margin:3% 3%; padding:2% 0; text-align:right; list-style-type:none; } </style> </head> <body> <nav class="grid_4 topmenu"> <ul> <li> <a href="#">Lorem ip</a> </li> <li> <a href="#">Lorem ipsum</a> </li> <li> <a href="#">Lorem ipsu</a> </li> </ul> </nav> </body> </html>