MyBB Community Forums

Full Version: help with a theme header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
having problems with 2 links in my navbar with a drop down not being lined up with the rest of the navbar in google chrome. it's also not the same color as the other links.

I believe the theme I'm using is called red force, but I can't seem to find it here on mybb..maybe I got it from another site, but I can't remember now.

here's what I'm talking about:
[attachment=17841]

it should be all on 1 row like it is in firefox:
[attachment=17842]

here's my header code
<link rel="shortcut icon" href="http://www.pazrt.com/forum/images/favicon.ico">
<div id="container"><br/> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT">
var url = "http://www.mybboard.110mb.com";
var title = "Book Mark Title";

function makeLink(){
if(document.all)
window.external.AddFavorite(url,title)
}
// -->
</script>
		<a name="top" id="top"></a>
		<div id="header">
			<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"></a></div>
			<div class="menu">
                                <p>
					<a href="http://www.pazrt.com/index.html">Home</a>
					<a href="http://www.pazrt.com/forum/portal.php">Portal</a>
					<a href="http://chat.pazrt.com/">Chat</a>
                                        <a href="{$mybb->settings['bburl']}/search.php" onclick="return overlay(this, 'fastsearch','bottom')"
>{$lang->toplinks_search}</a>
                                	<a href="http://www.pazrt.com/gallery/main.php" target="_blank">Gallery</a>
					<a href="http://www.pazrt.com/forum/usermap.php">Member Map</a>
					<a href="http://www.pazrt.com/forum/donate.php">Donate</a>
					<a href="http://wiki.pazrt.com" target="_blank">Wiki</a>
					<a href="http://www.cafepress.com/pazrt" target="_blank">Store</a>
                                        <td><b><a href="" id="postsmenu">More</a></b></td>
                                        <td><b><a href="" id="postsmenu2">Social</a></b></td>

<!--Do not remove outer most DIV tag with id="fastsearch"-->
<DIV id="fastsearch" class="fastsearch" style="position:absolute; border: 1px solid #7f9fc5 background-color: white; width: 230px; padding: 2px; display:none; filter: alpha(opacity=80); -moz-opacity: 0.80; z-index: 10">
    <table width="100%" border="0" cellpadding="0" cellspacing="1">
        <tr>
            <td height="25" align="left"><b>{$lang->fastsearch_fastsearch}</b></td>
	    <td height="25" align="right"><a href="#" onClick="overlayclose('fastsearch'); return false">[X]</a></td>
        </tr>
        <tr>
            <td height="26" align="center" valign="middle" colspan="2">
				<form method="post" action="search.php" style="margin: 0;">
                        <input type="text" class="textbox" id="focus" onFocus="Active(this)" onBlur="NotActive(this)" name="keywords" size="30" style="width: 150px;" />
                        <input type="submit" class="button" name="submit" value="{$lang->fastsearch_go}" />
                        <input type="hidden" name="action" value="do_search" /><input type="hidden" name="postthread" value="1" checked="checked" />
						<input type="hidden" name="showresults" value="threads" checked="checked" />
                </form>
            </td>
        </tr>
        <tr>
            <td height="20" align="center" valign="middle" colspan="2"><a href="{$mybb->settings['bburl']}/search.php">{$lang->fastsearch_advanced}</a></td>
        </tr>
    </table>
</DIV>
                                        
				</p>
			</div>
			<hr class="hidden" />
			<div id="panel">
				{$welcomeblock}
	{$guestmsg}{$usermsg}
			</div> 
		</div>
		<hr class="hidden" />
		<br class="clear" />
		<div id="content">
			{$pm_notice}
			{$bannedwarning}
			{$bbclosedwarning}
			{$unreadreports}<!-- ProfileComments -->
                        {$headeraacount}
			{$commentalert}<!-- /ProfileComments -->
			<navigation><br />
{$messagestyle}{$boardmessage}
			<br />
<div id="postsmenu_popup" class="popup_menu" style="display: none;">

<div class="popup_item_container">
<a href="http://www.pazrt.com/forum/misc.php?page=About-Us" class="popup_item" style='color:black'>About Us</a>
</div>

<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/misc.php?action=help"" class="popup_item" style='color:black'>Help</a>
</div>

<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/memberlist.php""" class="popup_item" style='color:black'>Member List</a>
</div>

<div class="popup_item_container">
<a href="http://pazrt.com/forum/refer.php"""" class="popup_item" style='color:black'>Invite</a>
</div>

<div class="popup_item_container">
<a href="{$mybb->settings['bburl']}/calendar.php"" class="popup_item" style='color:black'>Calendar</a>
</div>

<div class="popup_item_container">
<a href="http://www.pazrt.com/forum/misc.php?page=Links" class="popup_item" style='color:black'>Links</a>
</div>
</div>

<div id="postsmenu2_popup" class="popup_menu" style="display: none;">

<div class="popup_item_container">
<a href="http://twitter.com/pazrt" class="popup_item" style='color:black'>Twitter</a>
</div>
<div class="popup_item_container">
<a href="http://www.youtube.com/pazrt" class="popup_item" style='color:black'>Youtube</a>
</div>
<div class="popup_item_container">
<a href="http://www.facebook.com/pages/Pennsylvania-Zombie-Response-Team/10150095905020602" class="popup_item" style='color:black'>Facebook</a>
</div>
</div>

<script language="javascript" type="text/javascript">
new PopupMenu("postsmenu");
</script>
<script language="javascript" type="text/javascript">
new PopupMenu("postsmenu2");
</script>

<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
function getposOffset(overlay, offsettype){
var totaloffset=(offsettype=="left")? overlay.offsetLeft : overlay.offsetTop;
var parentEl=overlay.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function overlay(curobj, subobjstr, opt_position){
if (document.getElementById){
var subobj=document.getElementById(subobjstr)
subobj.style.display=(subobj.style.display!="block")? "block" : "none"
var xpos=getposOffset(curobj, "left")+((typeof opt_position!="undefined" && opt_position.indexOf("right")!=-1)?   

-(subobj.offsetWidth-curobj.offsetWidth) : 0)
var ypos=getposOffset(curobj, "top")+((typeof opt_position!="undefined" && opt_position.indexOf("bottom")!=-1)?

curobj.offsetHeight : 0)
subobj.style.left=xpos+"px"
subobj.style.top=ypos+"px"
return false
}
else
return true
}

function overlayclose(subobj){
document.getElementById(subobj).style.display="none"
}

// ]]></script>