2014-05-22, 09:04 PM
Ok so look. Please no one respond with <center></center> or anything like that. I accidentley uploaded an old xml file and reverted back to original code. I found a code on the web that worked the first time but now i cant find it.... So im trying to center my navbar. Heres my current code..
Ok so the code that worked looked something like this Below
Can someone post the correct code for this please. i cant find it on the internet. it worked for me the first time i just adjusted the numbers to 400px etc...
anyone have any answers please ? 41 views and not one reply
<!-- begin navbar -->
<div id="navbar">
<ul id="nav">
<li><a href="{$mybb->settings['bburl']}/About.php" >About</a></li>
<li><a href="{$mybb->settings['bburl']}/Artists.php" >Artists</a></li>
<li><a href="{$mybb->settings['bburl']}/Beats.php">Beats</a></li>
<li><a href="{$mybb->settings['bburl']}/DrumKits.php">Drum Kits</a></li>
<li><a href="{$mybb->settings['bburl']}/shops.php">Store</a></li>
<li><a href="{$mybb->settings['bburl']}/Videos.php">Videos</a></li>
</div></br>
<!-- end navbar -->
Ok so the code that worked looked something like this Below
<ul id="nav" left:150px; right:50px; text-allign:center;>
Can someone post the correct code for this please. i cant find it on the internet. it worked for me the first time i just adjusted the numbers to 400px etc...
anyone have any answers please ? 41 views and not one reply