BigNoseBird.Com- home Small Logo
The 508 compliant Guide to 
       Big Nose Bird
BACK
Every time I try to list numbers in columns with text, I can't get the decmal points to line up. What gives?

Actually, there are two solutions to this problem. One is to use the <PRE> tags for presenting preformatted text. The problem with this solution is that the text you are presenting must be properly aligned. If it is not- here is how to solve your problem very easily using tables.


example

In the example I am using borders so you can see what is doing. If you do not want border, just remove the BORDER= attribute. It is best not to set it equal to 0 as some browsers may just see the BORDER attribute and put one there anyway.

Account Catagory January February
Cash on Hand $15,123.45 $20,123.45
Stocks and Bonds $5,233.00 $454.42
Inventory $155,212.00 $65,111.02

source code

<TABLE WIDTH=450 BORDER=1>
 <TR>
  <TH ALIGN=LEFT>Account Catagory</TH>
  <TH ALIGN=RIGHT>January</TH>
  <TH ALIGN=RIGHT>February</TH>
 </TR>
 <TR>
  <TD ALIGN=LEFT>Cash on Hand</TD>
  <TD ALIGN=RIGHT>$15,123.45</TD>
  <TD ALIGN=RIGHT>$20,123.45</TD>
 </TR>
 <TR>
  <TD ALIGN=LEFT>Stocks and Bonds</TD>
  <TD ALIGN=RIGHT>$5,233.00</TD>
  <TD ALIGN=RIGHT>$454.42</TD>
 </TR>
 <TR>
  <TD ALIGN=LEFT>Inventory</TD>
  <TD ALIGN=RIGHT>$155,212.00</TD>
  <TD ALIGN=RIGHT>$65,111.02</TD>
 </TR>
</TABLE>



Find or Give Help on the BBS
 
Home Top E-Mail
If it looks great, it's by Christine
Some Fine Print
© 1997-2003 BigNoseBird.Com®, Inc. All rights reserved. All other trademarks are the sole property of their respective owners. The products that we recommend are only ones that we use. We have no relationship with any of the authors or their companies. We cannot assume responsibility for their ultimate performance or lack of same. We also cannot assume responsibility for either any programs provided here, or for any advice that is given since we have no control over what happens after our code or words leave this site. Always use prudent judgment in implementing any program- and always make a backup first! For further information, please read our Privacy Statement. We can be contacted at webmaster@bignosebird.com.


<reallybig.com>
Web Builder Network Portal
Advertise
on the
Reallybig.com
Network
BigNoseBird Newsletter
Subscribe
Un-Subscribe


Sign up today to receive our low volume newsletter. Tips, tricks, news, and whatever else crosses our minds.
Back Issues
Privacy Statement