Currently, I'm working on creating a simple website for server users to order items. However, I've encountered an issue related to the Navigator text.
Here is how it currently appears:
Upon inspecting the code below, you'll notice that there should be navigator text above the Back button and the Categories buttons below should display similarly to the back and prices buttons above since they share the same code.
I attempted several other approaches, but they were beyond my coding abilities so I turned to Google for assistance, yet didn't find any viable solutions.
Is there a way to resolve this issue?
Summary: Issue
- The "Navigator" text disappears at 100% zoom view
- Category buttons do not render as intended (same codes as buttons above with different IDs)
.title {
color: #66d4ff;
background-color: #444444;
font-size: 62px;
text-align: center;
border: solid 10px #66d4ff;
padding: 50px;
margin-left: 302px;
}
body {
background: #444444;
}
button {
color: #66d4ff;
background: #444444;
font-size: 30px;
font-family: 'Times New Roman', Times, serif;
}
a {
color: #66d4ff
}
nav {
position: fixed;
top: 0;
left: 0;
width: 300px;
height: 100%;
background: #4a4a4a;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-right: solid 2px #ffffff;
overflow-y: scroll;
}
.nav::-webkit-scrollbar {
display: hidden;
}
main {
color: #66d4ff;
background-color: #444444;
font-size: 20px;
}
.navigator {
display: block;
margin-bottom: 50px;
color: #66d4ff;
font-size: 35px;
text-align: center;
}
.store {
padding: 0 99.5px 0 99.5px;
display: block;
margin-top: 25px;
margin-bottom: 25px;
}
...
<main>
<div class="title">
<t1>MineGlobe | IchorDragon's Store</t1>
</div>
</main>
<nav>
<div id="navigator">
<p class="navigator">Navigator</p>
<div>
<button class="store"><a href="store.html" style="text-decoration: none;">Back</a></button>
<button class="prices"><a href="prices.html" style="text-decoration: none;">Prices</a></button>
</div>
</div>
...