Has anyone else run into the issue where the style looks fine in development mode in the various browsers (IE, Chrome & Firefox) and then when you deploy the site, the style is a little off?
I know the CSS is the same between my box and the shared server. So I'm not sure what it could be! Is there some sort of CSS tool that could help me debug this?
These images are from Google Chrome. I also want to note that I'm using the default bootstrap.css file from the MVC template that Visual Studio 2013 uses.
HTML:
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="../Home/" class="navbar-brand">
<img src="~/Images/jaggedarraysLogoSmall.png" /></a>
</div>
CSS:
.navbar-brand,.navbar-nav > li > a {
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
}
.navbar-brand {
float: left;
padding: 10px;
text-indent: -9999px; /* hides the link text */
line-height: 20px;
margin-top: 10px;
width: 185px;
background: url(../Images/jaggedarraysLogoSmall.png) no-repeat;
height: 35px;
}