I tried the suggestions in the two threads I found on the subject, but they did not work for me. Here is how I got them to center using tables:
In Show Thread Templates>>SHOWTHREADS
Search for "social bookmarking links" and scroll down a few lines to
Add the tables indicated in red so it looks like this:
That will center them, but the default links won't look too much different because of the forced wide spacing between each link.
To fix that, in Show Thread Templates>>showthread_bookmarksite
change the first line from this:
to this:
That puts 20 pixels between each link and 10 on each end.
You can adjust the spacing to accommodate different numbers of links by adjusting the values of margin-left and margin-right. Or you can just use one or the other but the result will be slightly off-center one way or the other.
In Show Thread Templates>>SHOWTHREADS
Search for "social bookmarking links" and scroll down a few lines to
Code:
<td class="alt2" style="padding-top:0px"><div style="clear:both"></div><ul style="list-style-type:none; margin:0px; padding:0px">$bookmarksites</ul><div style="clear:both"></div></td>
Code:
<td class="alt2" style="padding-top:0px"><div style="clear:both"></div>[COLOR=Red]<table width=100% cellspacing=0 cellpadding=0 border=0><tr><td align="center"><table cellspacing=0 cellpadding=0 border=0><tr><td>[/COLOR]<ul style="list-style-type:none; margin:0px; padding:0px">$bookmarksites</ul> [COLOR=Red]</td</tr></table></td</tr></table>[/COLOR]<div style="clear:both"></div></td>
To fix that, in Show Thread Templates>>showthread_bookmarksite
change the first line from this:
Code:
<li class="smallfont" style="width:25%; min-width:160px; float:$stylevar[left]; margin-top:$stylevar[cellpadding]px">
Code:
<li class="smallfont" style="float:left; margin-top:$stylevar[cellpadding]px; margin-left:10px; margin-right:10px;">
You can adjust the spacing to accommodate different numbers of links by adjusting the values of margin-left and margin-right. Or you can just use one or the other but the result will be slightly off-center one way or the other.
Comment