I have a fairly straightforward website set up. It utilizes php to scan for images and then displays them one by one with navigation buttons at the top. These buttons allow users to switch back and forth between the images. At the top of the page, there are several links, but for some reason, I am unable to click on them. When I try to double-click, the image gets highlighted instead of the text I am trying to access. I have attempted to troubleshoot this by removing any javascript and php, but the issue persists.
I don't have a lot of experience with HTML. I suspect it may have something to do with the z-index, but I haven't been able to resolve it.
body {
background-color: #FFFFFFf
}
.menup1 {
float: left;
padding-left: 5.5%;
box-sizing: border-box;
font-size: 35px;
background: #fffff;
color: black;
}
a {
color: black;
cursor: pointer;
}
p {
color: black;
}
.listelemt {}
ul {
float: left;
font-size: 40px;
padding-top: 10px;
}
ul li {
padding-top: 15px;
}
.container {
position: relative;
width: 100%;
padding-top: 200px;
}
.container .btnF {
position: absolute;
top: 50%;
left: 50%;
transform: translate(600%, -50%);
-ms-transform: translate(-50%, -50%);
background-color: #555;
color: white;
font-size: 16px;
padding: 6px 12px;
border: none;
cursor: pointer;
border-radius: 1px;
height: 50px;
width: 50px;
}
.container .btnB {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-675%, -50%);
-ms-transform: translate(105%, -50%);
background-color: #555;
color: white;
font-size: 16px;
padding: 6px 12px;
border: none;
cursor: pointer;
border-radius: 1px;
height: 50px;
width: 50px;
}
<div class="menup1"><a href="google.com">Appetizer</a></div>
<div class="menup1"><a href="../../../Soups">Soups</a></div>
<div class="menup1"><a href="../../../Desserts">Desserts</a></div>
<div class="menup1"><a href="../../../Cakes">Cakes</a></div>
<div class="menup1"><a href="../../../MainCourses">Main Courses</a></div>
<div class="menup1"><a href="../../../Pastry">Pastry</a></div>
<div class="container">
<img id="recipe" src="1.jpg" height=auto width=100%/>
<button class="btnF" id="btnF">+</button>
<button class="btnB" id="btnB">-</button>
</div>
I am hopeful that you can assist me with this issue. While I have been able to navigate through the javascript and php components, dealing with languages that don't adhere to the standard programming rules is not my strong suit.