This is coming soon!

How to put space between this header?

Discussion in 'Programming Help & Discussion' started by TheUninvited, Jul 21, 2012.

Oh noes!

You need 20 posts to be able to download resources, post links and other things. Read more...
  1. TheUninvited Active Member

  2. Sapper Active Member

    Actually there is very little difference in those two.

    You could try using the Line command <li> if you are using icons, you can also specify the width of the icons in the <li> command like this :

    <li><a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon-profile.png" width="16" height="16" alt="Profile Icon" />{L_PROFILE}</a></li>

    Thats how it's done in phpBB3

    The whole code for phpBB navmenu is :

    <div class="floatright">
    <ul>
    <!-- IF S_USER_LOGGED_IN -->
    <li class="divider"></li>
    <li><a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon-profile.png" width="16" height="16" alt="Profile Icon" />{L_PROFILE}</a></li>
    <li class="divider"></li>
    <li><a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon-pms.png" width="16" height="16" alt="PMS Icon" />{PRIVATE_MESSAGE_INFO}</a></li>
    <!-- ENDIF -->
    <li class="divider"></li>
    <li><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon-login.png" width="16" height="16" alt="Login Icon" /><!-- IF S_USER_LOGGED_IN -->{L_LOGOUT}<!-- ELSE -->{L_LOGIN}<!-- ENDIF --></a></li>
    </ul>
    </div>
  3. Akeli Member

    First use un ordered listing

    HTML:
    <!-- inbetween your headtags -->
    <style>
    .menu ul{list-style: none;}
    .menu ul li{ float:left; padding:5px;margin:14px 0; }
    .menu ul li a{ float:left; }
    </style>
     
    <nav class="menu">
        <ul>
          <li><a href="http://example.com">Home</a></li>
          <li><a href="http://example.com">Home</a></li>
          <li><a href="http://example.com">Home</a></li>
        </ul>
    </nav>