Finally Got It to Work! After troubleshooting, I managed to fix the code on the first page and successfully link it to this second page. Despite using the same CSS and similar HTML, I couldn't figure out why the buttons were not displaying at all.
Important Note: Interestingly, when I removed the .css link from my .html file, all the buttons and inputs appeared! I also rectified the issue with "hidden" in .comm and added the following code:
#register{
visibility: visible;
}
* {
padding: 0;
margin: 0;
/*box-size:border-box;*/
}
body {
background: rgba(255, 84, 151, 0.40);
}
#container {
width: 300px;
margin: 0 auto;
margin-top: 150px;
}
.tabs {
display: table-cell;
width: 30%;
background-color: rgba(11, 177, 224, 0.82);
padding: 10px;
float: left;
text-align: center;
vertical-align: middle;
border: 2px solid #ffffff;
border-bottom: 0px;
position: relative;
font-size: 1.3em;
color: #ffffff;
}
.tabs:hover,
p {
cursor: pointer;
}
#lt {
background-color: rgb(12, 132, 189);
}
#cont {
width: 95%;
height: 380px;
background-color: rgba(11, 177, 224, 0.82);
border: 2px solid #ffffff;
}
input {
display: block;
width: 250px;
margin: 10px 13px;
padding: 10px;
font-size: 1.3em;
color: rgba(11, 177, 224, 0.82);
outline: 2px solid #ffffff;
}
input[type="submit"] {
width: 272px;
color: #6e6e6e;
}
#clear {
clear: both;
}
.comm {
position: absolute;
visibility: hidden;
}
#login {
visibility: visible;
}
h3 {
display: table-cell;
vertical-align: middle;
padding: 10px 15px;
font-size: 1.5em;
color: #ffffff;
}
#forgot h3 {
display: block;
margin-top: 30px;
text-align: center;
}
#forgot div {
margin-top: 30px;
}
p {
padding: 10px 15px;
font-size: 1.3em;
color: #ffffff;
}
Thank you!