If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jun 2003
    Member #
    I am trying to put a banner rotating script into my vbulletin.

    I have this code in the <head></head> tags:

    <style type="text/css">
    		div#adBanner2 {
    			margin: 0;
    			padding: 0;
    			width: 780px;
    			height: 125px;
    			position: relative;
    			background: url(customimages/buttonsets/michelleblue/top.gif) no-repeat;
    		div#adBanner2 img {
    			position: absolute;
    			left: 151px;
    			top: 25px;
    			width: 468px;
    			height: 60px;
    The place that I would like the banners to show up from the banner rotating script has this:

    <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" valign="bottom">
      <tr valign="bottom">
         <td width="100%" align="center" background="customimages/buttonsets/michelleblue/topbg.gif" valign"bottom">
        <div id="adBanner2">
    The php code that is used for the banner rotating script is this:

    PHP Code:
    //Banner Ads
    if (@include(getenv('DOCUMENT_ROOT').'/bannerad/')) {
            if (!isset(
    $phpAds_context)) $phpAds_context = array();
    $phpAds_raw view_raw ('zone:2'0'_blank''adBanner2''0'$phpAds_context);
    When using this I get this result: I want the banners to show up in the white space below the header. Please email me at or send me an instant message with my aol screen name triality15 or my icq number 120242978.


    Splufdaddy edit: fixed hyperlink.


  3. #2
    WDF Staff Wired's Avatar
    Join Date
    Apr 2003
    Member #
    139 times
    Personally, I'd just put the header links to th left, and the banner to the right. Saves space, looks a bit cleaner.
    The Rules
    Was another WDF member's post helpful? Click the like button below the post.

    Admin at

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 08:06 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: