I implemented a bootstrap navbar that looks like this...
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">WebSiteName</a>
</div>
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#">Page 1 <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Page 1-1</a></li>
<li><a href="#">Page 1-2</a></li>
<li><a href="#">Page 1-3</a></li>
</ul>
</li>
<li><a href="#">Page 2</a></li>
<li><a href="#">Page 3</a></li>
</ul>
</div>
</nav>
One issue I am facing with this navbar is that it changes its layout when the screen size is reduced.
Here is how it looks before resizing... https://i.stack.imgur.com/kqgqs.png
And here is how it appears after resizing...
https://i.stack.imgur.com/ggozd.png
I want to maintain the original look of the navbar even when the screen is smaller. Is there a way to prevent bootstrap from rearranging the elements? Which attributes should I modify or delete to ensure the navbar remains unchanged, even if there is overflow?