I want to create a navbar to start my website out with but I'm having an issue with the css files that I'm working with. Primarily bootstrap's css file. I linked both my custom css file and bootstrap's to my html file, but I can't get my navbar to float to the right as long as bootstrap's css file is linked. I tried switching the order of the linked css files but to no avail. What does work is if I delete the bootstrap linked file but I want to practice working with bootstraps grid system in this project. As always help on this issue would be greatly appreciated.
ul {
list-style: none;
margin: 0;
padding:0;
overflow:hidden;
background-color: darkkhaki;
color:beige;
}
li {
display: inline;
float: right;
}
/*Add the background-color to <ul> instead of each <a> element if you want a full-width background color*/
li a {
display: block;
color: beige;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link type="text/css" rel="stylesheet" href="css/mainnature.css">
<title>Nature Conservatory</title>
</head>
<body>
<header>
<nav class="navbar">
<ul>
<li><a href="default.asp">Volunteer</a></li>
<li><a href="news.asp">Support</a></li>
<li><a href="contact.asp">Shop</a></li>
<li><a href="about.asp">Search</a></li>
</ul>
</nav>
</header>
</body>
</html>