I need help with creating a responsive navbar for my website. I have been working on the CSS to adjust the size of the navbar and align the text properly, but I'm struggling to get it right.
Here is a snippet of the CSS:
.nav {
font-family: "Indie Flower", serif;
font-size: larger;
color: white;
}
#navwrapper{
width: 100%;
float: left;
margin: 0 auto;
list-style : none;
font-family: "Indie Flower", Arial;
background-color: red;
height: 10px;
text-align: "center";
}
And here is some HTML code:
<body>
<div id="main" class="main" style ="text-align: center">
</div>
<div id = "navwrapper">
<p class = "nav">Holder</>
</div>
<br>
<iframe src = "http://chrisfoose.blogspot.com" width = "100%" height = "300" frameborder = "0">
<p>Unfortunately your browser does not support dynamic content.</p>
</iframe>
</div>
</body>
For reference, you can view the current results through this Codepen Link.