![]() |
How do i center adsense in my footer?
<a href="http://www.whoyoureppin.com/forum/index.php" target="_blank">http://www.whoyoureppin.com/forum/index.php</a>
check it out...how do i center the adsense in my footer template? |
Paste the adsense code on the top of the template if you'd like.
|
HTML Code:
<div align="center"> |
?????????
|
<center> before your Google codes...</center> after...
|
doesnt work.
|
Just enclose the script in a centered Div.
<div align="center"> ---- code ----- </div> |
Quote:
HTML Code:
<div style="text-align: center;"> |
i used
<div align="center"> <div class="smallfont" align="center"> <!-- Do not remove this copyright notice --> <br /> $vbphrase[all_times_are_gmt_x_time_now_is_y]<br /> <br /> Design by <a href="http://www.vbmode.com/"><b>VBMode.com</b></a><br /> $vbphrase[powered_by_vbulletin]<br /> $cronimage <!-- Do not remove $cronimage or your scheduled tasks will cease to function --> $vboptions[copyrighttext] </div> </div> <br /> $spacer_close <!-- /content area table --> <form action="$vboptions[forumhome].php" method="get"> <table cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="$stylevar[outertablewidth]" class="page" align="center"> <tr> <if condition="$show['quickchooser']"> <td class="tfoot"><select name="styleid" onchange="switch_id(this, 'style')"> <optgroup label="$vbphrase[quick_style_chooser]"> $quickchooserbits</optgroup> </select> </td> </if> <if condition="$show['languagechooser']"> <td class="tfoot"><select name="langid" onchange="switch_id(this, 'lang')"> <optgroup label="$vbphrase[quick_language_chooser]"> $languagechooserbits</optgroup> </select> </td> </if> <div style="text-align: center;"> <script type="text/javascript"><!-- google_ad_client = "pub-9021484856030387"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text_image"; //2007-06-24: online poker, online casino poker, online casino gambling, online casino bonus, video slot machine google_ad_channel = "9952263802+3639495088+5718311362+6051134613+74090 48393"; google_color_border = "ffffff"; google_color_bg = "ffffff"; google_color_link = "000000"; google_color_text = "000000"; google_color_url = "000000"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> <br> </br> <script type="text/javascript"><!-- google_ad_client = "pub-9021484856030387"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "text_image"; //2007-06-24: online poker, online casino poker, online casino gambling, online casino bonus, video slot machine google_ad_channel = "9952263802+3639495088+5718311362+6051134613+74090 48393"; google_color_border = "ffffff"; google_color_bg = "ffffff"; google_color_link = "000000"; google_color_text = "000000"; google_color_url = "000000"; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> </div> <td class="tfoot" align="$stylevar[right]" width="100%"><div class="smallfont"> <strong> <if condition="$show['contactus']"><a href="$vboptions[contactuslink]" rel="nofollow">$vbphrase[contact_us]</a> -</if> <if condition="$vboptions['hometitle']"><a href="$vboptions[homeurl]">$vboptions[hometitle]</a> -</if> <if condition="$show['admincplink']"><a href="$admincpdir/index.php$session[sessionurl_q]">$vbphrase[admin]</a> -</if> <if condition="$show['modcplink']"><a href="$modcpdir/index.php$session[sessionurl_q]">$vbphrase[mod]</a> -</if> <if condition="$vboptions['archiveenabled']"><a href="archive/index.php">$vbphrase[archive]</a> -</if> <if condition="$vboptions[privacyurl]"><a href="$vboptions[privacyurl]">$vbphrase[privacy_statement]</a> -</if> <a href="#top" onclick="self.scrollTo(0, 0); return false;">$vbphrase[top]</a> </strong> </div></td> </tr> </table> </form> <if condition="$show['dst_correction']"> <!-- auto DST correction code --> <form action="profile.php?do=dst" method="post" name="dstform"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="dst" /> </form> <script type="text/javascript"> <!-- var tzOffset = $bbuserinfo[timezoneoffset] + $bbuserinfo[dstonoff]; var utcOffset = new Date().getTimezoneOffset() / 60; if (Math.abs(tzOffset + utcOffset) == 1) { // Dst offset is 1 so its changed document.forms.dstform.submit(); } //--> </script> <!-- / auto DST correction code --> </if> <script type="text/javascript"> <!-- // Main vBulletin Javascript Initialization vBulletin_init(); //--> </script> and the other and niether have worked? |
All suggestions to-date work.
|
well they didnt.
|
it's best to at least learn html when owning a site.
A very easy way to do this is, get a copy of dreamweaver or frontpage and make what you want in the "design" section, then learn what does what in the "code" section. Shouldn't take you more than a week to get you on your way to making some nice pages. To answer your question, download and install "Openads." then place the invocation code in: Quote:
|
Quote:
|
lol all you need is
<center> code here </center> |
You shouldn't use <center>, even though "it gets the job done". It is deprecated and not in the specification used in the vBulletin document header (XHTML Transitional 1.0).
|
why is it deprecated?
|
Because it is. Ask W3C....
|
Quote:
|
Quote:
|
All times are GMT. The time now is 05:50 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|