MyBB Community Forums

Full Version: aligning the toplinks menu in header.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
how can i align the toplinks menu with some links on the left and some on the right?


please can anyone give me the code?

right now mines the original.
Find this in the header template:
			<div class="menu">
				<ul>
					<li><a href="{$mybb->settings['bburl']}/search.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/search.gif" alt="" />{$lang->toplinks_search}</a></li>
					<li><a href="{$mybb->settings['bburl']}/memberlist.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/memberlist.gif" alt="" />{$lang->toplinks_memberlist}</a></li>
					<li><a href="{$mybb->settings['bburl']}/calendar.php"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/calendar.gif" alt="" />{$lang->toplinks_calendar}</a></li>
					<li><a href="{$mybb->settings['bburl']}/misc.php?action=help"><img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/toplinks/help.gif" alt="" />{$lang->toplinks_help}</a></li>
				</ul>
			</div>
By default those are your links on the right side. Try adding this below it:
			<div class="menu" style="float: left">
				<ul style="text-align: left">
					<li><a href="#">Your link on the left</a></li>
				</ul>
			</div>