marcia
11-06-2005, 07:04 PM
I decided to post this because I spent quite a bit time on this forum looking for the left side alignment answer and couldn't find it...I got close, but not the newbie answer. It occured to me that a fix posted here for the main page alignment would work and to my surprise it did! Thanks to the poster of the fix for main page alignment! "Wrapping it up" works!
A fix that worked for me...
Here goes...
Add this to site.css and adjust width and padding to meet your needs.
#linkwrapper {
width: 600px;
margin: 0 auto;
padding:10px;
text-align: left;
}
add the bold text to links.tpl
{strip}
<div id="linkwrapper">
<table bgcolor="#FFFFFF"><tr>
{* show page rank *}
{if $smarty.const.SHOW_PAGERANK}
<td>
<p style="clear: both">{include file="pagerank.tpl" pr=$link.PAGERANK}
</td>
{/if}
<td>
<a id="{$link.ID}" href="{$link.URL}"
{* nofollow *}
{if $link.NOFOLLOW or ($link.RECPR_VALID eq 0 and
($smarty.const.RECPR_NOFOLLOW eq 2 or
($smarty.const.RECPR_NOFOLLOW eq 1 and $link.RECPR_REQUIRED eq 1)))
} rel="nofollow"
{/if}{if $smarty.const.ENABLE_BLANK} target="_BLANK"{/if}>
{$link.TITLE}</a> <span class="url">- {$link.URL}</span>
{$link.DESCRIPTION}</p>
</p>
</td>
</tr></table>
</div>
{/strip}
A fix that worked for me...
Here goes...
Add this to site.css and adjust width and padding to meet your needs.
#linkwrapper {
width: 600px;
margin: 0 auto;
padding:10px;
text-align: left;
}
add the bold text to links.tpl
{strip}
<div id="linkwrapper">
<table bgcolor="#FFFFFF"><tr>
{* show page rank *}
{if $smarty.const.SHOW_PAGERANK}
<td>
<p style="clear: both">{include file="pagerank.tpl" pr=$link.PAGERANK}
</td>
{/if}
<td>
<a id="{$link.ID}" href="{$link.URL}"
{* nofollow *}
{if $link.NOFOLLOW or ($link.RECPR_VALID eq 0 and
($smarty.const.RECPR_NOFOLLOW eq 2 or
($smarty.const.RECPR_NOFOLLOW eq 1 and $link.RECPR_REQUIRED eq 1)))
} rel="nofollow"
{/if}{if $smarty.const.ENABLE_BLANK} target="_BLANK"{/if}>
{$link.TITLE}</a> <span class="url">- {$link.URL}</span>
{$link.DESCRIPTION}</p>
</p>
</td>
</tr></table>
</div>
{/strip}