vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Alignment within Who's Online section - plz review my code (https://vborg.vbsupport.ru/showthread.php?t=218562)

TAFJonathan 07-14-2009 02:30 PM

Alignment within Who's Online section - plz review my code
 
Have a look at the busted alignment of my Who's Online bit, which is at the top of my home page.

I can't get the list of active users to stop being aligned at the far RIGHT of the cell.

Here's the relevant code:

HTML Code:

<table>
<tr>
<td>

$vbam_location[taf4]
<br />

<if condition="$show['loggedinusers']">
<!-- logged-in users -->



<tbody>
        <tr>
                <td class="thead" colspan="2">

               
                        <a href="online.php$session[sessionurl_q]">Online Now</a>: &nbsp; $totalonline &nbsp; (<phrase 1="$numberregistered" 2="$numberguest">$vbphrase[x_members_and_y_guests]</phrase>)
                </td>
        </tr>
</tbody>
<tbody id="collapseobj_forumhome_activeusers" style="$vbcollapse[collapseobj_forumhome_activeusers]">
        <tr>
                <td class="alt2">
<a href="online.php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/whos_online.gif" alt="$vbphrase[view_whos_online]" border="0" /></a></td>
                <td class="alt1">
                        <div class="smallfont">
                               
                                <div><font size="-2">&nbsp; $activeusers</font></div>
                        </div>
                </td>
        </tr>
</tbody>
</td></tr></table>

<!-- end logged-in users -->
</if>






</td>
</tr>
</table>


Lynne 07-14-2009 02:53 PM

You say you can't stop them from being aligned at the far left of the cell, however, you haven't done anything in the code to align them another way, nor have you said what you want/expect, so I'm really not sure what to suggest.

TAFJonathan 07-14-2009 03:14 PM

Quote:

Originally Posted by Lynne (Post 1848683)
You say you can't stop them from being aligned at the far left of the cell, however, you haven't done anything in the code to align them another way, nor have you said what you want/expect, so I'm really not sure what to suggest.

I'm sorry -- I meant far RIGHT. I can't get the active users list to get out of the far right of the cell.

My bad for the confusion.

Have a look at the page.

--------------- Added [DATE]1247602706[/DATE] at [TIME]1247602706[/TIME] ---------------

Anyone? If you have a look at AviationForum.org, you'll see that the list of active users is squeezed into the far right of the area throughout which you'd expect it to be displayed.

My code is above.

Lynne 07-15-2009 01:42 AM

I have no idea what you want it to look like - I can only see what it does look like (the users listed in a colored box in the middle of the navigation box). An image to show what you want would really help. Also, I only see a large square box on most pages except the forum home page. Is that what it's supposed to be like?


All times are GMT. The time now is 04:22 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01477 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete