aj8690
02-01-2008, 11:21 PM
Hello. :)
I'm having a bit of trouble placing an advertisement in the first post of every thread properly. I'm trying to place a 300x250 square inside the first post of each thread, aligned to the right.
Here is what I have done to my postbit:
This is the ORIGINAL:
<!-- message -->
<div id="post_message_$post[postid]" class="post_message">$post[message]</div>
<!-- / message -->
I changed it to this:
<!-- message -->
<if condition="(($post[postcount] % $vboptions[maxposts] == 1))">
<table class="tborder" cellpadding="0" cellspacing="1" border="0" width="302" align="right">
<tr>
<td class="alt1"><center><script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=300X250&cwpid=504309&cwwidth=300&cwheight=250&cwpnet=1&cwtagid=18849"></script></center></td>
</tr>
</table>
</if>
<div id="post_message_$post[postid]" class="post_message">$post[message]</div>
<!-- / message -->
On lengthy posts it looks good, but in short posts it messes up the sig and the quote, edit, etc. buttons. (see attachment).
Is there a way to make it so that it will "push" the quote, edit, etc. area down instead of making it go to the left of it?
I found a site where they basically did the same thing (but with adsense) and it doesn't mess up the buttons there, so I know it's possible (http://www.modmymoto.com/forums/showthread.php?t=66756).
Any suggestions are appreciated. Thanks!
I'm having a bit of trouble placing an advertisement in the first post of every thread properly. I'm trying to place a 300x250 square inside the first post of each thread, aligned to the right.
Here is what I have done to my postbit:
This is the ORIGINAL:
<!-- message -->
<div id="post_message_$post[postid]" class="post_message">$post[message]</div>
<!-- / message -->
I changed it to this:
<!-- message -->
<if condition="(($post[postcount] % $vboptions[maxposts] == 1))">
<table class="tborder" cellpadding="0" cellspacing="1" border="0" width="302" align="right">
<tr>
<td class="alt1"><center><script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=300X250&cwpid=504309&cwwidth=300&cwheight=250&cwpnet=1&cwtagid=18849"></script></center></td>
</tr>
</table>
</if>
<div id="post_message_$post[postid]" class="post_message">$post[message]</div>
<!-- / message -->
On lengthy posts it looks good, but in short posts it messes up the sig and the quote, edit, etc. buttons. (see attachment).
Is there a way to make it so that it will "push" the quote, edit, etc. area down instead of making it go to the left of it?
I found a site where they basically did the same thing (but with adsense) and it doesn't mess up the buttons there, so I know it's possible (http://www.modmymoto.com/forums/showthread.php?t=66756).
Any suggestions are appreciated. Thanks!