Log in

View Full Version : Ad Code...First Post Right Side


Bradley_Wint
02-17-2009, 11:54 PM
Ok guys, so I'm using the default code in vb, to display ads...but the only change I made was for it to be displayed all the time, and I added my own code (from OpenX) instead of the default code, since I want more control over my ads.

So the basic code goes like this:

<div style="float:right; width:300px; height:250px; margin-left:10px">
my code
</div>

However, when people use the QUOTE function, the quote box expands beyond the ad code.. instead of cutting of at the box... with that box...it should cut off 10 pixels before the edge of the ad box...
e.g. http://www.autogaming.net/board/showthread.php?t=482&page=22

Any ideas what I may be doing wrong?

snakes1100
02-17-2009, 11:58 PM
Looks to be a IE issue, works fine in FF for me.


# <div class="smallfont" style="margin-bottom:2px">Quote:</div>
# <table cellpadding="6" cellspacing="0" border="0" width="100%">


What happens if u adjust the width?

It appears that google is not in the same table as the quote.

It also looks like you have some bad coding there as well on that page.

Bradley_Wint
02-18-2009, 12:31 AM
Ughh.. it seems this only works fine if non-registered members view it...I will have to actually re-write some of the HTML for it to look proper when logged in.