|
Geek Advertising Banner System GAB is a highly configurable banner management system for vBulletin. |
Advertisement | |
Learn how to remove ads |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
How do I Center and Place on FORUMHOME
There is probably a much better way to do this, what I am trying to do is place
GAB
banners centered under Navbar (actually under gallery block) on my forum home. I can do this but I can either get it centered in Firefox and not in IE or centered in IE and not Firefox. It would be nice to have it centered in both.
Centered in IE: <!-- START OF SPONSOR BANNER TABLE --> <table width="100%" align="center"> <tr> <td>$GAB_ads[1]</td> </tr> </table> <!-- END OF SPONSOR BANNER TABLE --> Centered in Firefox: <!-- START OF GAB BANNER TABLE --> <center> <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0"> <tr> <center> $GAB_ads[1] </center> </tr> </center> <!-- END OF GAB BANNER TABLE --> I am wondering of any of you with more knowledge may have a centering syntax that works in both? I may as well ask another question while I am at it. In Photopost vBgallery the header banner shows on the gallery index page but not in the individual gallery catagory pages, any ideas on that? |
#2
|
||||
|
||||
Untested, but try the following:
Code:
<table width="100%" align="center" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"> $GAB_ads[1] </td> </tr> </table> Code:
global $GAB_ads;
__________________
Please use the forums for support, feature requests, and similar such things. Support does not include custom code, custom template edits, or third-party modifications. PMs and emails to me should be for private information only, such as login information. If you PM or email me a support question, chances are good that I'll ignore it. Thanks. While the work or play is on, it is a lot of fun if while you are doing one you don't constantly feel that you ought to be doing the other. -- Franklin Pierce Adams |
#3
|
|||
|
|||
Thanks, it appears that the "<td align="center"> is the key in that with some help from someone at vBulletin.org we worked out earlier that:
<div style="text-align: center;"> $GAB_ads[1] </div> Does the trick and it is centered in both Firefox and IE, so I imagine yours would work as well. I will look around for the function, it use to be that there was a "Globals" input box in vBgallery that you entered the tags into, but seems to have disappered once PhotoPost took possesion. I will dig deeper. Thank you for your help on this, I really hate dealing with the multiple browsers and their little quirks! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The place of banners ? | f4vn | Geek Advertising Banner System | 1 | 04-02-2008 05:46 PM |
Design Center | MuGi | GARS Link Directory | 0 | 02-23-2008 07:38 AM |
Reptile Forums - Herp Center | Rich | GARS Link Directory | 0 | 02-17-2008 04:30 PM |
Where to place this? | Bridges | Geek Advertising Banner System | 2 | 02-07-2007 02:42 PM |
Is there a place to report bugs? | Southpaw | Geek Article and Review System | 2 | 04-13-2006 11:28 AM |