Arfooo en français Arfooo in english

Tutorial: correctly position its advertising adsense, oxado

Propose here your templates, your plugins or ask one.
All tutorials available for Arfooo Directory are available in this category.

Tutorial: correctly position its advertising adsense, oxado

Postby Arf on Sun Aug 10, 2008 8:16 am

This tutorial will help you positioning your advertisements (adsense, oxado and many others ...) on your directory Arfooo.

It is a first step in creating a class in the file templates/arfooo/css/style.css
Code: Select all
.column_in_adv {
   float:left;
   width:643px;
   margin:0;
   padding:0
   text-align:center;
}


Of course, to position your pub, he may need to play with margin and/or padding.
Imagine that you want to shift your pub because it is sticking to a block located above.
We then use margin-top like that:
Code: Select all
.column_in_adv {
   float:left;
   width:655px;
   margin:0;
margin-top:7px
   padding:0
   text-align:center;
}


Always remember to put your new line after margin:0; if you add an attribute margin For example, as is always the last attribute that will take effect.
If you put your new attribute margin-top:7px before margin:0; then your attribute will have no effect.

It will also be playing with the width of the block ie width:655px;


In a second time, it will create your criterion in your admin:
Code: Select all
<div class="column_in_adv">
your advertising code
</div>


Best regards,
Arf.
Arf
Site Admin
 
Posts: 127
Joined: Fri Mar 14, 2008 6:51 pm

Return to Templates, plugins and tutorials

Who is online

Users browsing this forum: No registered users and 0 guests

 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group | phpBB SEO
Copyright © arfooo.net  2007 - 2008  -  All rights reserved.
cron