MyBB Community Forums

Full Version: Skyscraper Ad on righ side of forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Ashley,

It is exactly the same, and ad is not showing up in the middle.
Can you pm me a link to your site so that i can see it?
Woops, That's not clever of me, off course: http://hetcomputerforum.nl
Try it like this:

<html>
<head>

<!-- Site optimized with MySEO 1.0 -->
{$seo_index}
<!-- Site optimized with MySEO 1.0 -->


<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
              <!-- Advertentie Forum 1 -->
              <div style="text-align: center;"><ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-4405765982773173" data-ad-slot="9645182446"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
                    <br />

<div style="width:90%; float:left"> 
{$forums}
{$boardstats}
</div>
<div style="width:10%; float:right">    
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Ads</strong></td>
</tr>
<tr>
<td>

<div style="text-align: center;"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- LinksVerticaal -->
<ins class="adsbygoogle"
    style="display:inline-block;width:160px;height:600px"
    data-ad-client="ca-pub-4405765982773173"
    data-ad-slot="7697413249"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</td>
</div>
</tr>
</table>
<br />    
</div>
<div class="clear"></div>
    
<div style="text-align: center;"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- Ad3 -->
<ins class="adsbygoogle"
    style="display:inline-block;width:728px;height:90px"
    data-ad-client="ca-pub-4405765982773173"
    data-ad-slot="3899668845"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></div>
    <br />
{$footer}
</body>
</html>
Outcome is the same....
The lineup appears to be correct now though, apart from the vertical align, which I am not sure where to put because there's no <img> tag in your html. It's javascript.
Ok Ashley,

Thanks very much for your help!!
Maybe someone else who's reading with us can help me with the last bit.
But I'm glad we are this far now.

Thanks!
You're welcome.
Does anybody know how to get the right side advertisement to the middle of the board? It has to be centered vertically.

Thanks in advance!
^ that right side advt looks alright. can you show your present requirement with a mock-up image ? (or with arrows & text)
Pages: 1 2 3