It's important that progress and my goals are clearly outlined here:
When it comes to the "Offices" section, I need the child objects to display directly below and ideally match the width of the parent element.
Here is the code snippet:
<div class="navItem" style="display:inline">
<button class="dropbtn"> Home </button>
</div>
<div class="dropdown" style="display:inline">
<button onclick="myFunction()" class="dropbtn">Offices</button>
<div id="myDropdown" class="dropdown-content">
<a href="#home">Regional</a>
<a href="#about">Global</a>
<a href="#contact">Local</a>
</div>
</div>
<div class="navItem" style="display:inline">
<button class="dropbtn"> Who we are</button>
</div>
<div class="navItem" style="display:inline">
<button class="dropbtn"> Contact </button>
</div>
<div class="navItem" style="display:inline">
<button class="dropbtn" id="searchBox"> Search </button>
</div>