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.

