How can I change the overflow property from hidden to visible in OthersMain?
body, html {
height: 100%;
width: 100%;
margin: 0px;
padding: 0px;
overflow: hidden;
}
* {
box-sizing: border-box;
}
/* Home.html */
#LeftMainSection {
background-color:#FFA500;
width: 180px;
height: 100%;
display: inline-block;
float: left;
margin-left: -180px;
animation: LeftMove 1s;
animation-fill-mode: forwards;
border-right:10px solid black;
}
#LeftMainSection a {
padding-top: 9px;
text-align: center;
text-decoration: none;
color: black;
background-color:rgba(153, 99, 0, .6);
width: 180px;
height: auto;
padding:10px;
display: block;
border-bottom:10px solid black;
border-right:10px solid black;
}
@keyframes LeftMove {
0% {
margin-left: -180px;
}
100% {
margin-left: 0;
}
}
#BorderBottomBlack {
border-bottom: 10px solid black;
}
#BorderTopBlack {
border-top: 10px solid black;
}
#RandomInfo {
text-align: center;
}
#HomeMain, #OthersMain{
text-align:center;
overflow: visible;
text-indent: 40px;
color: white;
height: 100%;
background-color:#664200;
margin-right: 245px;
margin-left: -180px;
animation: LeftMove 1s;
animation-fill-mode: forwards;
}
#OthersMain{
font-size:.8em;
overflow:visible !important;
}
#TopHR, #BottomHR{
border:solid black;
height:10px;
background-color:black;
}
#HomeMain p{
font-size:1.3em;
text-align:center;
padding: 10px;
}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<link rel="stylesheet" href="/Candidate/CSSFiles/styles.css">
</head>
<body>
<div id="LeftMainSection">
<a id="BorderTopBlack" href="Index.html">Video</a>
<a id="" href="Home.html">Home</a>
<a id="" href="Bio.html">Bio</a>
<a id="" href="Shop.html">Shop</a>
<a id="" href="Campaign.html">About The Campaign</a>
<a id="Others" href="Others.html">About The Other Candidates</a>
<a id="" href="citations.html">Citations</a>
<a id="BorderBottomBlack" href="Contact.html">Contact</a>
<div id="RandomInfo">
<h3>Random Info</h3>
</div>
</div>
<main id="OthersMain">
<div id="HomeMainDivTop">
<h2>About The Other Canidates</h2>
</div>
<div>
<h1>Burton (Gus) Guster</h1>
<hr id="">
<h2 id="AboutPG">About "Gus"</h2>
<p>Crime</p>
<p></p>
...
</body>
</html>
I am struggling to make the #OthersMain overflow property as visible by using !important in my CSS but it's not working. Any suggestions on how to fix this issue?