I need assistance with adjusting the alignment of the text in my navigation menu. Specifically, I want to move the starting text more to the left and ensure that the rest align correctly within the gaps. Additionally, I have observed that this layout issue is not present on touch devices like the iPhone. I believe this can be resolved using CSS without the need for JavaScript.
Any help or guidance on how to achieve this would be greatly appreciated.
Thank you in advance.
HTML
<div class="navbar">
<ul id="nav">
<li>
<a href="index.php">Homepage</a>
</li>
<li><a heref="#">About Us</a>
<ul>
<li><a href="index.php?site=about">About</a></li>
<li><a href="index.php?site=static&staticID=4">Allies</a></li>
<li><a href="index.php?site=static&staticID=1">Rank</a></li>
</ul>
</li>
<li>
<a href="index.php?site=members">Members</a>
</li>
<li>
<a href="index.php?site=forum">Forums</a>
</li>
<li><a heref="#">Stats</a>
<ul>
<li><a href="index.php?site=static&staticID=2">In-Game Stats</a></li>
<li><a href="index.php?site=static&staticID=3"