Es werden die <li> tags immer auf 100% untereinander angezeigt. Kann mir jemand helfen, den Fehler zu finden? Hier der Html Code:
PHP-Code:
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="./appearence/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<title>Bootstrap</title>
<!-- Optional JavaScript -->
<!-- jQuery first,https://code.jquery.com/ then Popper.js, then Bootstrap JS -->
<script src="./lib/jquery-3.3.1.min.js" type="text/javascript"></script>
</head>
<body>
<div class="container-fluid bg-secondary border-top-w">
<nav class="navbar navbar-toggleable-md navbar-dark bg-faded">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul id="mainNavig" class="navbar-nav mr-auto">
<li class="nav-item ">
<a class="nav-link" href="?set_context=messages&context_type=module">Willkommen</a>
</li>
<li class="nav-item ">
<a class="nav-link" href="?set_context=reports&context_type=module">einen Bericht senden</a>
</li></ul>
</div>
</nav>
</div>
<script src="./appearence/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>
Kommentar