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" width="300"
height="300"> height="300">
<div class="topnav"> ul {
<a class="active" href="index.html">Home</a> list-style-type: none;
<a href="contactus.html">Contact</a> margin: 0;
<a href="aboutus.html">About</a> padding: 0;
<a href="payments.html">Payments</a> overflow: hidden;
<a href="Products.html">Products</a> background-color: #333;
</div> }
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> </head>
<body> <body>