Update index.html

This commit is contained in:
Ray 2022-11-02 10:08:09 +11:00 committed by GitHub
parent 714960e58f
commit a401343b95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 7 deletions

View File

@ -13,13 +13,40 @@
width="300"
height="300">
<div class="topnav">
<a class="active" href="index.html">Home</a>
<a href="contactus.html">Contact</a>
<a href="aboutus.html">About</a>
<a href="payments.html">Payments</a>
<a href="Products.html">Products</a>
</div>
ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover {
background-color: #111;
}
.active {
background-color: #04AA6D;
}
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="contactus.html">Contact</a></li>
<li style="float:right"><a class="active" href="aboutus">About</a></li>
</ul>
</head>
<body>