Is there a way I can adjust the positioning of the search bar and button to align left after the navbar-brand element in a continuous manner? I have tried using the bootstrap classes justify-content-start
and text-left
, but they did not yield the desired result. Below is the code snippet:
<nav class="navbar navbar-light">
<div class="container-fluid">
<a class="navbar-brand" href="/">
<img src="images/logo.png" width="200" />
</a>
<form class="d-flex">
<input class="form-control me-2" type="text" />
<button class="btn btn-outline-info" type="submit">Search</buton>
</form>
</div>
</nav>