LI Menu
? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <title></title> <style rel="stylesheet" type="text/css"> .menu { padding: 0 0 0 271px; } .menu li { background-position: top left; background-repeat: no-repeat; width: 112px; height: 30px; text-align: center; list-style-type: none; float: left; } .menu li a { text-decoration: none; color: red; font-family: Arial; font-size: 12px; display: block; padding: 6px 0; } </style> </head> <body> <ul class="menu"> <li class="active"><a href="index.html">Home</a></li> <li class="unactive"><a href="index2.html">About us</a></li> <li class="unactive"><a href="index2.html">Submit</a></li> <li class="unactive"><a href="index2.html">Popular</a></li> <li class="unactive"><a href="index2.html">Latest</a></li> <li class="unactive"><a href="index2.html">Contacts</a></li> </ul> </body> </html>