https://i.sstatic.net/PoNFX.pnghttps://i.sstatic.net/dEDAA.jpgMy website utilizes bootstrap tabs, but I've noticed that as I adjust the screen resolution, the tabs do not respond properly and end up positioned incorrectly. How can I ensure that the tabs remain in the right place regardless of the resolution?
Check out the code snippet below:
<div class="container" id="toptab" style="position:absolute;top:10px;">
<div class="row">
<div class="col-sm-3 col-md-6 col-lg-12">
<ul class="nav nav-tabs">
<li id="tab1" class="active">
<a href="${ctxRoot}/app/user/hours/populate" data-toggle="tab">My Hours</a>
</li>
<li id="tab2">
<a href="${ctxRoot}/app/user/hours/reviewHours" data-toggle="tab">Review Hours</a>
</li>
</ul>
</div>
</div>
</div>
I've included screenshots of the tabs at 1920 resolutionhttps://i.sstatic.net/RsQ7X.jpg and at 1280 resolution for reference.