• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Padding question

Diablotic

Active member
#1
I want to add banner between first and second post, in order to achieve that In "ad_message_below" I have added:
Code:
<xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0">
<li class="message">
<center>
{baner code}
</center>
</li>
</xen:if>
Everything seems to be fine except bottom padding. It is 30px, I would like to change it to 10px for this banner, how do I do that please?

Example on my website: http://forum-mechanika.pl/threads/skoda-fabia-1-4-migający-kluczyk-nie-odpala.2376/
 
F

Floris

Guest
#2
avoid using <center> (from earlier html versions) and at the least use <div align="center"> for html4 and up.
Sorry for going offtopic.

You can try to use negative padding to compensate, or try the margin with a negative value.