top





How can i allign this to left side ? How can i fix this ? Here's my index_box :

Code:
<div class="pun-crumbs">
   <p class="crumbs"><a href="{U_INDEX}">{L_INDEX}</a><strong>{NAV_CAT_DESC}</strong></p>
</div>
<div class="main">
<!-- BEGIN catrow -->
   <!-- BEGIN tablehead -->
      <div class="main-head">
         <div class="page-title">{catrow.tablehead.L_FORUM}</div>
      </div>
      <div class="main-content">
         <table cellspacing="0" class="table">
            <thead>
               <tr>
                  <th class="tcl">{L_FORUM}</th>
                  <th class="tcr">{L_LASTPOST}</th>
               </tr>
            </thead>
            <tbody class="statused">
   <!-- END tablehead -->

   <!-- BEGIN forumrow -->
               <tr>
                  <td class="tcl" style="padding-right: {catrow.forumrow.INC_LEVEL_RIGHT}; padding-left: {catrow.forumrow.INC_LEVEL_LEFT};">
                     <span class="status" style="margin-right: -{catrow.forumrow.INC_WIDTH_ICON}; margin-left: -{catrow.forumrow.INC_WIDTH_ICON};">
                        <img title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" src="{catrow.forumrow.FORUM_FOLDER_IMG}" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" />
                     </span>
                     <div style="float: right;"><span><span><b>{catrow.forumrow.POSTS}</b></span> Posts in
                  <span><b>{catrow.forumrow.TOPICS}</b> </span>Topics </span><br><br><span>
<!-- BEGIN switch_topic_title -->
<a href="{catrow.forumrow.U_LATEST_TOPIC_POST}" title="{catrow.forumrow.LATEST_TOPIC_TITLE}"> {catrow.forumrow.LATEST_TOPIC_NAME}</a><br>

<!-- END switch_topic_title -->
{catrow.forumrow.USER_LAST_POST}
</span></div>
                     

                     {catrow.forumrow.FORUM_DESC}
                     <!-- BEGIN switch_moderators_links -->
                     

                     {catrow.forumrow.switch_moderators_links.L_MODERATOR}{catrow.forumrow.switch_moderators_links.MODERATORS}
                     <!-- END switch_moderators_links -->
                     {catrow.forumrow.L_LINKS}{catrow.forumrow.LINKS}
                     <strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}
                  </td>
                  <td class="tcr">
                  </td>
               </tr>
   <!-- END forumrow -->

   <!-- BEGIN tablefoot -->
            </tbody>
         </table>
      </div>
   <!-- END tablefoot -->
<!-- END catrow -->
</div>

<!-- BEGIN switch_on_index -->
<div class="main-box clearfix">
   <ul>
      <li><a href="{U_TODAY_ACTIVE}">{L_TODAY_ACTIVE}</a></li>
      <li><a href="{U_TODAY_POSTERS}">{L_TODAY_POSTERS}</a></li>
      <li><a href="{U_OVERALL_POSTERS}">{L_OVERALL_POSTERS}</a></li>
   </ul>
   <!-- BEGIN switch_delete_cookies -->
   <p class="right">
      <a href="{switch_on_index.switch_delete_cookies.U_DELETE_COOKIES}">{switch_on_index.switch_delete_cookies.L_DELETE_COOKIES}</a>
   </p>
   <!-- END switch_delete_cookies -->
</div>
<!-- END switch_on_index -->

Try replace this:

Code:
<div style="float: right;">
with:
Code:
<div style="float: right;margin-left: 200px;">

Nothing happens . Im using PunBB .

ok, try this:

Code:
<div style="float: right;margin-left: 200px;position: absolute;">

Still not working T__T .

Now change the 200px to 500px until you find the best place (:

Thanks Gangstar15 . Now working but, can i ask 1 more question ?
How can i make it on the center ?

This is what i meant :


I want to put those with the black circled on the green lign .

--

Here's what i use now :

Code:
<div style="float: right;margin-left: 650px;position: absolute;">

Center what.. you can still play with the margin-left to center it Smile

No . I mean, the allignment is now ok . But i want to center it .

Here's some image :


I want those "0 post in 0 topic" to be alligned with the green line .

Replace this:

Code:
<span><b>{catrow.forumrow.POSTS}</b></span> Posts in
                  <span><b>{catrow.forumrow.TOPICS}</b>
With:
Code:
<div style="text-align:center"><span><b>{catrow.forumrow.POSTS}</b></span> Posts in
                  <span><b>{catrow.forumrow.TOPICS}</b></span>Topics </span><br><br><span></div>

Wow . Nice . This is now done Smile .
Thanks Gangstar15 ^^ Smile .

[solved]