<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!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"> <head runat="server"> <title>Untitled Page</title> <style type="text/css"> menu{ width: 100%; background-color: #197E46; } menu ul{ margin: 0; padding: 0; float: left;} .menu ul li{ display: inline;} .menu ul li a{ float: left; text-decoration: none; color: white; padding: 10.5px 11px; background-color: #197E46; } .menu ul li a:visited{ color: white;} .menu ul li a:hover, .menu ul li .current { color: #fff; background-color:#FDCB0A; } </style> </head> <body> <form id="form1" runat="server"> <div class="menu"> <ul> <li><a href="#">Home</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> <br style="clear:left"/> </div> </form> </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)