In the thread starter column tips...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • john1744
    Senior Member
    • Apr 2005
    • 198

    In the thread starter column tips...

    Is there a way to right align the names in the column? Center align looks kind blagh to me.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    For example, make the change in green. Apply the same change to each code block:

    Code:
    <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" id="threadslist">
    $announcebits
    <if condition="$show['search_engine']">
    	<if condition="$show['threadicons']">
    		<td class="thead" colspan="2">&nbsp;</td>
    	<else />
    		<td class="thead">&nbsp;</td>
    	</if>	
    	<td class="thead" width="100%">
    		<if condition="$show['threadratings']"><span style="float:$stylevar[right]">$vbphrase[rating]</span></if>
    		$vbphrase[thread] [color=red]/ $vbphrase[thread_starter][/color]
    	</td>
    	[color=blue]<td class="thead" align="[color=green]right[/color]" nowrap="nowrap">
    		$vbphrase[thread_starter]
    	</td>[/color]
    	<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[last_post]</span></td>
    	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[replies]</span></td>
    	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap">$vbphrase[views]</span></td>
    <else />
    <tr>
    	<if condition="$show['threadicons']">
    		<td class="thead" colspan="2">&nbsp;</td>
    	<else />
    		<td class="thead">&nbsp;</td>
    	</if>	
    	<td class="thead" width="100%">
    		<if condition="$show['threadratings']"><span style="float:$stylevar[right]"><a href="$sorturl&amp;order=desc&amp;sort=voteavg" rel="nofollow">$vbphrase[rating]</a> $sortarrow[voteavg]</span></if>
    		<a href="$sorturl&amp;order=asc&amp;sort=title" rel="nofollow">$vbphrase[thread]</a> $sortarrow[title] [color=red]/
    		<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername][/color]
    	</td>
    	[color=blue]<td class="thead" align="[color=green]right[/color]" nowrap="nowrap">
    		<a href="$sorturl&amp;order=asc&amp;sort=postusername" rel="nofollow">$vbphrase[thread_starter]</a> $sortarrow[postusername]
    	</td>[/color]
    	<td class="thead" width="150" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=lastpost" rel="nofollow">$vbphrase[last_post]</a> $sortarrow[lastpost]</span></td>
    	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=replycount" rel="nofollow">$vbphrase[replies]</a> $sortarrow[replycount]</span></td>
    	<td class="thead" align="center" nowrap="nowrap"><span style="white-space:nowrap"><a href="$sorturl&amp;order=desc&amp;sort=views" rel="nofollow">$vbphrase[views]</a> $sortarrow[views]</span></td>
    	
    	<if condition="$show['inlinemod']">
    		<if condition="$show['popups']">
    			<td class="vbmenu_control" id="imod" align="center"> <script type="text/javascript"> vbmenu_register('imod'); </script> </td>
    		<else />
    			<td class="thead" align="center">
    				<input type="checkbox" name="allbox" id="checkall_all" title="$vbphrase[check_uncheck_all]" onclick="inlineMod.check_all()" />
    			</td>
    		</if>
    	</if>
    </tr>
    </if>

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...