Thank you for your answers.
I solved my problem with the following lines of code:
html-file: i just removed pull-right
in the <ul>
:
<header class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<nav class="navbar-collapse collapse">
<ul id="myTab" class="nav navbar-nav">
<li></li>
...
</ul>
</nav>
</header>
css-file: i implemented the pull-right
for myself and reset in later:
#myTab
{
float:right;
}
@media (max-width:768px)
{
#myTab
{
float:none;
}
#myTab li {
width: 100%;
}
}
Now it looks like:
Link to result - As you see i removed the text-align: center;
part, just because left align look better.