Good people, after so many hours trying, I turn to you who will surely be able to help me, I could not align the picture in any way, I would appreciate it very much since I am not an expert. use center, left, right.
It is a page that a client asked me, and I must correct it before Friday
<div class="table-responsive">
<table cellspacing=1 cellpadding=2 border=0 width=100% class="transaction-table"><tr class="hover">
<td class="item htd">
<div class="table-responsive"><div class="deptab">
<table cellspacing=1 cellpadding=2 border=0 width=100% class="transaction-table">
<tr>
<td colspan=3 align=center><h1>{$p.name}</h1></td>
</tr>
<tr>
<th class=inheader>Plan</th>
<th class=inheader>Deposit Amount</th>
<th class=inheader nowrap><nobr>{$p.period} Profit (%)</nobr></th>
</tr>
{foreach from=$p.plans item=o}
<tr>
<td class=item>{$o.name}</td>
<td class=item>{$currency_sign}{$o.min_deposit} {if $o.max_deposit>0}- {$currency_sign}{$o.max_deposit}{else}and more{/if}</td>
<td class=item>{$o.percent}</td>
</tr>
{/foreach}
</table>
</div></div>
<div class="table-responsive"><div class="deptab">
<table cellspacing=1 cellpadding=2 border=0 width=100% class="transaction-table">
{if !$p.deposits}
<tr>
<td colspan=4><b>No deposits for this plan</b></td>
</tr>
{else}
<tr>
<td colspan=4 class=inheader style="text-align:left">Your deposits:</td>
</tr>
<tr>
<td class=inheader>Date</td>
<td class=inheader>Amount</td>
{if $p.use_compound}
<td class=inheader>Compounding Percent</td>
{/if}
{if $p.withdraw_principal}
<td class=inheader>Release</td>
{/if}
</tr>
{foreach from=$p.deposits item=d}
<tr>
<td align=center class=item><b>{$d.date}</b><br>{if $p.q_days == 0}Working {$d.duration} days{else}Expira en {$d.expire_in}{/if}</td>
<td align=center class=item><b>{$currency_sign}{$d.deposit}</b></td>
{if $p.use_compound}
<td align=center class=item align=center>{$d.compound}% <a href="{"?a=change_compound&deposit=`$d.id`"|encurl}">[change]</a></td>
{/if}
{if $p.withdraw_principal}
<td align=center class=item>
{if $d.can_withdraw}
<a href="{"?a=withdraw_principal&deposit=`$d.id`"|encurl}">[release]</a>
{else}
{if $d.pending_duration > 0}
{$d.pending_duration} day{if $d.pending_duration > 1}s{/if} left
{else}
not available
{/if}
{/if}
</td>
{/if}
</tr>
{/foreach}
{/if}
</table>
</div></div>
{if $p.total_deposit > 0 || $p.today_profit > 0 || $p.total_profit > 0}
<table cellspacing=0 cellpadding=1 border=0>
<tr><td>Deposited Total:</td><td><b>{$currency_sign}{$p.total_deposit}</b></td></tr>
<tr><td>Profit Today:</td><td><b>{$currency_sign}{$p.today_profit}</b></td></tr>
<tr><td>Total Profit:</td><td><b>{$currency_sign}{$p.total_profit}</b></td></tr>
</table>
{/if}
<br>
</td></tr></table>
<br>
source https://stackoverflow.com/questions/70368484/how-can-i-align-the-amount-box-to-the-right-html
Comments
Post a Comment