The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
how to "center"
Hello,
hope someone can help me... I did add my adsense code into the header, but cant "center" the add. can anybody help and show me how to center this... <!-- logo --> <a name="top"></a> <table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center"> <tr> <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td> <td align="$stylevar[right]" id="header_right_cell"> <if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /> </if> </td> </tr> </table><script type="text/javascript"><!-- google_ad_client = "xxxx"; /* xxxx */ google_ad_slot = "xxx"; google_ad_width = xx; google_ad_height = xx; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output thanks G |
#2
|
||||
|
||||
add your code to the Ad Location Templates instead, within <center> tag
|
#3
|
|||
|
|||
Hi
Thanks, but can you be more specific, thanks G |
#4
|
||||
|
||||
say I want to add a Advert to my footer.
I will go to Style Manager->Ad Location Templates->ad_footer_start Code:
<center> <script type="text/javascript"><!-- google_ad_client = "xxxx"; /* xxxx */ google_ad_slot = "xxx"; google_ad_width = xx; google_ad_height = xx; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </center> |
#5
|
|||
|
|||
cool,, thanks
g |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|