MyBB Community Forums

Full Version: added adsense banner after logo on header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I spend my 2 hours on this issue.

Home » Template Sets » Default Templates » Template: header

<div id="container">
		<a name="top" id="top"></a>
		<div id="header">
<div style="float:right;"><script type="text/javascript"><!--
google_ad_client = "pub-publisher id here";
/* 468x60, created 12/1/09 */
google_ad_slot = "your publisher id";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div><div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" /></a></div>
			<div class="menu">


<div style="float:right;">ad code</div>

I added this code after logo div before. it showed correct in Firefox but looked messed up in internet explorer .

Then now i am using it before logo div. now it looks correct on both browsers. please review it. did i missed something?

check my header of website Funchit Forums