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

Padding question

Discussion in 'Styling and Customization Questions' started by Diablotic, Apr 25, 2012.

  1. Diablotic

    Diablotic Active Member

    I want to add banner between first and second post, in order to achieve that In "ad_message_below" I have added:
    <xen:if is="{$post.position} % {$xenOptions.messagesPerPage} == 0">
    <li class="message">
    {baner code}
    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/
  2. Floris

    Floris Guest

    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.
  3. Diablotic

    Diablotic Active Member

    Can this be done in html? I am not good with styling and csss.


    <div style="margin: 0px 0px -20px 0px;>


Share This Page