![]() |
|
|
#1 |
|
Senior Member
![]() Join Date: Jan 2006
Posts: 244
|
Anyone know how to get the currency amounts to line up on the left side or by the decimal point for USD?
Thanks! |
|
|
|
|
|
#2 |
|
Senior Member
![]() Join Date: Aug 2006
Posts: 98
|
Give me a little more info and maybe I can help you.
I am not entirley sure of what you mean.? Regards Danny
__________________
Selnico.com- Premium Domains |
|
|
|
|
|
#3 |
|
Senior Member
![]() Join Date: Jan 2006
Posts: 244
|
Hi Danny,
Thanks for replying - Right now DT aligns the currency amounts 'aligned left' so the '6' on 65.00 is under the '1' on 1,000.00 instead of being aligned by the decimal point or 'aligned right' - This is on the front page where all the domains/amounts are in columns. Thanks again for giving it a go! ~ Denis |
|
|
|
|
|
#4 |
|
Senior Member
![]() Join Date: Aug 2006
Posts: 98
|
Not that I have tested it yet, but maybe the answer would be to add an align="right" to the <td> cell of the price.
<td align="right">$10,000</td> It is in the index_content.tpl file in smarty/ this is the code: <td align="right">${$showcase_entries[i].min_offer|number_format}</td> you may need to play with the widths of the header cells above this where it says domain name, price , min offer etc to make it look suited, I changed them to 60%, 12%, 28% respectively. Hope this helps
__________________
Selnico.com- Premium Domains |
|
|
|
|
|
#5 |
|
Senior Member
![]() Join Date: Jan 2006
Posts: 244
|
Thanks!
Had already tried the <td align="right">$10,000</td> but it threw everything off. Going to try it with the change in the header cells. I'll let you know. Thanks again! |
|
|
|
|
|
#6 |
|
Senior Member
![]() Join Date: Aug 2006
Posts: 98
|
Sure.
I tested it and it works OK when you realign the header cells.
__________________
Selnico.com- Premium Domains |
|
|
|
|
|
#7 |
|
Senior Member
![]() Join Date: Jan 2006
Posts: 244
|
Thanks again -
Played around with it - has to be a little better way of doing it - couldn't get the spacing where it looked right, too close together. Thanks again. |
|
|
|
|
|
#8 | |
|
Senior Member
![]() Join Date: Aug 2006
Posts: 98
|
Currently I cannot think of any other way.? but I will carry on looking at it for you.
~Danny This is What I tried: Quote:
__________________
Selnico.com- Premium Domains Last edited by Dotcomma; October 10th, 2007 at 08:31 PM. |
|
|
|
|
|
|
#9 |
|
Senior Member
![]() Join Date: Jan 2006
Posts: 244
|
I didn't try the <td class="domtabhead" width="33%" align="right">
I'll give that a shot - Thanks again for your help! ~ Denis |
|
|
|
|
|
#10 |
|
Senior Member
![]() Join Date: Jan 2006
Posts: 244
|
Danny,
BINGO! Thanks - I played around with the widths as well as some of the alignments. Got it where it was acceptable. Take a look! Thanks again! ~ Denis |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|