When I test my website locally, the elements are aligned correctly as expected. However, when I view it on my live webpage, the elements are all left-aligned. I've attempted a solution from this source, but the issue persists. What confuses me is why it displays properly on my local machine but not on the server? How can I resolve this alignment problem?
Here is the relevant HTML code:
<section id="header" class="appear">
<div class="navbar navbar-fixed-top" role="navigation" data-0="line-height:100px; height:100px; background-color:rgba(0,0,0,0.3);" data-300="line-height:60px; height:60px; background-color:rgba(0,0,0,1);">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="fa fa-bars color-white"></span>
</button>
<h1><a class="navbar-brand" href="index.html" data-0="line-height:90px;" data-300="line-height:50px;" style="font-family: 'Cuprum', sans-serif;"> Kaushaya </a>
</h1>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav right-to-left" data-0="margin-top:20px;" data-300="margin-top:5px;">
<li class="active"><a href="index.html">Home</a></li>
<li><a href="#section-about" >About</a></li>
<li><a href="#testimonials">Work</a></li>
<li><a href="#section-skills">Skills</a></li>
<li><a href="#section-contact">Contact</a></li>
<li><a target="_blank" href="http://www.webparadiso.wordpress.com">Blog</a></li>
</ul>
</div><!--/.navbar-collapse -->
</div>
</div>
</section>