|
Haven't registered yet? Do it here now!
|
A.J. Angel
Joined: 01 Aug 2008 Posts: 45
|
|
|
|
|
|
|
Posted: Thu Jun 11, 2009 11:05 am Post subject: Template Issue |
|
|
|
|
|
|
|
|
|
|
Hi Kaktusan,
I am having a template issue with the following code:
Code: | {tradelinkformat,<td><a target="_blank" href="{url}">{anchor}</a></td>}
<table align="center" cellspacing="5" cellpadding="0" border="0">
{tradestable,1-0,3}
</table> |
Whenever I have only two trades, it adds two table cells causing my page to be wider than it should be.
Check here: http://www.exquisiteangelz.com/angel/z/zdenka-podkapova/
Whenever I have only one trade, it doesn't add any table cells thus making it smaller than it should be.
Check here: http://www.exquisiteangelz.com/angel/w/whitney-stevens/
I wonder then if there is a way to fix this issue. Thanks! |
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Jun 11, 2009 11:45 am Post subject: |
|
|
|
|
|
|
|
|
|
|
well, put some WIDTH on the table and things should be fixed about the whole width of the table, then just the TDs will get resized according to the number of trades _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
A.J. Angel
Joined: 01 Aug 2008 Posts: 45
|
|
|
|
|
|
|
Posted: Thu Jun 11, 2009 12:09 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
Atanasis wrote: | well, put some WIDTH on the table and things should be fixed about the whole width of the table, then just the TDs will get resized according to the number of trades |
I already have a width on the table and on the TDs in my CSS. The problem is that the script generates either too much TDs, either not enough.
Code: | #featuredsites table {
table-layout: fixed;
width: 1125px;
border: 10px ridge #0000ff;
}
#featuredsites td {
width: 375px;
text-align: left;
} |
|
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Jun 11, 2009 2:34 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
i see, will be looking at the script code to see why it happens like that and fix it. will let you know soon.. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
Atanasis Owner
Joined: 22 May 2004 Posts: 4284 Location: The Net
|
|
|
|
|
|
|
Posted: Thu Jun 11, 2009 2:53 pm Post subject: |
|
|
|
|
|
|
|
|
|
|
ok, its fixed. The deal was script was improperly adding more or less empty TD's when the trades number didn't fill the table row.
if you are on latest v1.6 version of the software, go to my site, grab again the upgrader package, unpack on your PC and upload only file: /lo/functions.inc.php in BINARY mode. then just go and rebuild the site's template.
Take a note for example if you have lets say 2 trades, but you have set your table to contain lets say 3 trades per row, script inserts a blank TD for the missing trade, because if you have for example borders on your table, other backgrounds and stuff, it will look pretty bad if there's no TD on the row. _________________ Thanks,
Kaktusan
|
|
|
|
|
|
|
|
A.J. Angel
Joined: 01 Aug 2008 Posts: 45
|
|
|
|
|
|
|
Posted: Fri Jun 12, 2009 1:37 am Post subject: |
|
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
| |