Quote:
Originally Posted by Gene Steinberg
How about a method to reduce the width to the normal maximum of 728pixels, and then center that object without the gray border? Or just eliminate the gray background?
How is that done?
Also is there a code to have it go after the 1st and 4th posts and perhaps the last post too?
Peace,
Gene
|
Quote:
Originally Posted by SpongeBob71
Does anyone else have the issue of NOT having a space between the end of the first thread and the mods grey box? Mine is stuck together and does not have the space.
I have 4.1.
-SB
|
Method 1
PHP Code:
<br \>
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')">
<div class="body">
<div style="width: 100%; text-align: center">
<a href="ink to ad"><img src="http://your-ad-image-link.com" width="728"></a>
</div>
</div>
</vb:if>
Method 2
PHP Code:
<br \>
<div class="body">
<div style="width: 100%; text-align: center">
<a href="ink to ad"><img src="http://your-ad-image-link.com" width="728"></a>
</div>
</div>
Both methods above will make a space get rid of the border and resize the images to 728px wide.
if you want to resize the height you should add
height="X" (
change x to your own value)
EG: <img src="http://your-ad-image-link.com" width="728" height="75">
The grey border is caused by <div class="attachments"> so in my examples I've changed it to <div class="body"> to make the border disappear.