I'm facing an issue with the navbar-brand while adding my logo. I am using the latest version of bootstrap CSS from getbootstrap.com, and the problem is also evident there: The navbar becomes slightly oversized when the logo is included. However, if I only use text, everything looks fine. When hovering over a navbar element, you can notice a lighter color area below the navigation element.
I have attempted various edits and even looked into the CSS, although I'm hesitant to make changes without seeking advice first.
Here is the snippet of code related to the problematic part of the navigation bar:
<a class="navbar-brand" href="index.php?p=home">
<img src="images/page/header_trans2.png" />
</a>
Below is the complete navigation bar code:
<div class="navbar navbar-primary navbar-fixed-top navbar-inverse" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="index.php?p=home">
<img src="images/page/header_trans2.png" />
</a>
</div>
<div class="collapse navbar-collapse">
<div class="row">
<div class="col-md-8">
<ul class="nav navbar-nav">
(Navigation items here)
</ul>
</div>
<div class="col-md-2">
<ul class="nav navbar-nav">
(User login info here)
</ul>
</div>
</div>
</div><!-- /.nav-collapse -->
</div><!-- /.container -->
I appreciate any assistance on this matter!