Hey there, I'm completely new to the world of HTML/CSS and this is my first project ever. I welcome any constructive criticism that can help me improve in the future.
Now onto my current dilemma:
I've decided to use Bootstrap because it seems user-friendly from what I've experienced so far. However, I'm struggling to figure out how to move my dropdown button to the right-hand side of my navbar.
Below is the code for my navbar (apologies if it's not great, still learning):
<div id="navbar" class="navbar navbar-default navbar-custom navbar-fixed-top">
<a class="navbar-brand" href="">AVC Gaming</a>
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" role="button" aria-expanded="false">Forums <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="#">Ban Appeal</a></li>
<li><a href="#">Registration</a></li>
</ul>
</li>
<li class="button"><a href="">Donate</a></li>
<li class="dropdown">
<a href="#" role="button" aria-expanded="false">UK 111 <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="#">Forums</a></li>
<li><a href="#">Arma 2</a></li>
<li><a href="#">Arma 3</a></li>
</ul>
</li>
</ul>
</div>
</div>
If you'd like to see a live version, click here:
I attempted adding "pull-right" to the UK 111 dropdown <ul>
, but it didn't have the desired effect. Adding "pull-right" to the Donate button simply swapped its position with the UK 111 dropdown.
Any suggestions or ideas on how to solve this issue?