**
body
{
background-color: #9cb4c0;
background-size: 100% 100%;
}
.div-1
{
float: right;
padding: 20px 10px;
}
h2
{
text-align: right;
}
h3
{
text-align: left;
color: white;
}
a:link
{
color: rgb(7, 19, 86);
background-color: transparent;
text-decoration: none;
font-size: 20px;
}
a:visited
{
color: orange;
background-color: transparent;
text-decoration: none;
}
...
**I've attempted multiple times to resolve the issue without success. Are there any suggestions on how to correct the vertical display of the drop-down menu? Additionally, it seems that "a:visited" is not functioning correctly. How can this be fixed?
Here is my CSS code;
a:visited { color: orange; background-color: transparent; text-decoration: none; } .list-2 { list-style-type: none; margin: 0; padding: 0; overflow: hidden; background-color: #228bbb; } ...
Here is my HTML code;
<ul class = "list-2">
<li> <a href = "/Home/" target = "_blank"> Home </a> </li>
<li style = "float : right"> <a class = "active" href = "/About Us/" target = "_blank"> About Us</a> </li>
<li> <a href = "/Membership/" target = "_blank"> Membership </a> </li>
<li> <a href = "/Staff/" target = "_blank"> Staff </a> </li>
<li> <a href = "/Search/" target = "_blank"> Search </a> </li>
<li class = "dropdown"> <a href = "javascript:void(0)" class = "drop-button"> New Arrivals </button> </a>
<div class = "dropdown-content">
<a href = "/Books/" target = "_blank"> Books </a>
<a href = "/Magazines/" target = "_blank"> Magazines </a>
<a href = "/News Papers/" target = "_blank"> News Papers </a>
</div>
</li>