2011-02-19, 07:01 AM
2011-02-19, 09:18 PM
Download the plugin My Advertisements from here: http://forums.mybb-plugins.com/Thread-My...ents-1-9-2
or
Go to Admin CP > Templates & Style > Templates > Your Theme > Footer Templates > footer
and place your adsense code at the top of the footers code and if you want to center the code put <center> at the beginning of the adsense code and </center> at the end of the adsense code
or
Go to Admin CP > Templates & Style > Templates > Your Theme > Footer Templates > footer
and place your adsense code at the top of the footers code and if you want to center the code put <center> at the beginning of the adsense code and </center> at the end of the adsense code
2011-02-19, 09:39 PM
<center> tags are deprecated. Use the following instead:
<div style="text-align:center">
Adsense Code
</div>
2011-02-19, 09:43 PM
(2011-02-19, 09:39 PM)AJS Wrote: [ -> ]<center> tags are deprecated. Use the following instead:
<div style="text-align:center"> Adsense Code </div>
If that does not work, which I am sure it will, you could also use
<div style="margin-left: auto;margin-right: auto">
adsense code
</div>
2011-02-19, 09:44 PM
(2011-02-19, 09:43 PM)Matt G Wrote: [ -> ]If that does not work your could also use
Why wouldn't it work!?!
2011-02-19, 10:04 PM
No, i was just saying in case. It might not work because if it is an image or flash version.
<div align="center">adsensecode.</div>
would also work.
I would have to test it out to see.
<div align="center">adsensecode.</div>
would also work.
I would have to test it out to see.
2011-02-20, 12:13 PM
(2011-02-19, 10:04 PM)Matt G Wrote: [ -> ]No, i was just saying in case. It might not work because if it is an image or flash version.
<div align="center">adsensecode.</div>
would also work.
I would have to test it out to see.
That code will work with images anyway. align="center" is also deprecated.
2011-02-20, 03:39 PM
(2011-02-19, 09:43 PM)Matt G Wrote: [ -> ](2011-02-19, 09:39 PM)AJS Wrote: [ -> ]<center> tags are deprecated. Use the following instead:
<div style="text-align:center"> Adsense Code </div>
If that does not work, which I am sure it will, you could also use
<div style="margin-left: auto;margin-right: auto"> adsense code </div>
instead of <div style="margin-left: auto;margin-right: auto"> use <div style="margin: auto auto;"> it's the same
2011-02-20, 04:01 PM
(2011-02-20, 12:13 PM)AJS Wrote: [ -> ]Okay it's been a while since I have used align="center" so, sorry about that. Regardless, I was just putting out an alternative in case it was needed.(2011-02-19, 10:04 PM)Matt G Wrote: [ -> ]No, i was just saying in case. It might not work because if it is an image or flash version.
<div align="center">adsensecode.</div>
would also work.
I would have to test it out to see.
That code will work with images anyway. align="center" is also deprecated.
edit: I was wrong, it does work. Should not have doubted it. Sorry about that AJS.
2011-02-22, 04:27 AM
thanx all......