How can I fill a table space with periods?
For instance I have:
Money (several spaces) $10
Sold (several spaces) $5
how could I fill the <td> where several spaces is with ....
Money..............................$10
Sold.................................$5
??
Creating dots (......)
Started by Chan, Nov 21 2006 08:31 AM
5 replies to this topic
#1
Posted 21 November 2006 - 08:31 AM
|
|
|
#2
Posted 21 November 2006 - 09:38 AM
echo "<table> <tr><td>Moneyy..............................$10</td></tr> <tr><td>Sold.................................$5</td></tr> </table>";
#3
Posted 21 November 2006 - 06:17 PM
well, its not that easy (I wish it were).
I don't know the amount of space that is going to be between the variables such as Sold and Money but I want the money field to be left aligned and on the same space.
Var1 ............................................. $10
Var2 ..............................................$5
V3....................................................$27,000
Is there anything in PHP that lets me fill a space with a period (.)?
I don't know the amount of space that is going to be between the variables such as Sold and Money but I want the money field to be left aligned and on the same space.
Var1 ............................................. $10
Var2 ..............................................$5
V3....................................................$27,000
Is there anything in PHP that lets me fill a space with a period (.)?
#4
Posted 21 November 2006 - 11:11 PM
http://halfslice.hom...i.com/dots.html
<center> <table width="15%" border="0" class="data"> <tr><th align="right"><font color="#FF6600"><u>Item</u></font></th><th></th><th align="left"><font color="#FF6600"><u>Pricing</u></font></th></tr> <tr><td ALIGN="right">Money</td><td ALIGN="center">........................</td><td ALIGN="left">$10</td></tr> <tr><td ALIGN="right">Sold</td><td ALIGN="center">........................</td><td ALIGN="left">$5</td></tr> </table> </center> </body> </html>
#5
Posted 22 November 2006 - 10:15 AM
I think he wants something dynamic or something, to determine the ammount of periods or something......not quite clear what he wants
#6
Posted 22 November 2006 - 04:06 PM
Sidewinder said:
I think he wants something dynamic or something, to determine the ammount of periods or something......not quite clear what he wants
From what he has in detail, I answered it. But if he wants something to automatically generate a form for him. Well thats different.


Sign In
Create Account


Back to top











