vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Ad Code...First Post Right Side (https://vborg.vbsupport.ru/showthread.php?t=205723)

Bradley_Wint 02-17-2009 11:54 PM

Ad Code...First Post Right Side
 
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:

Code:

<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/show...?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.

Code:

#  <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.


All times are GMT. The time now is 06:29 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01469 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete