OK, here's the issue, I am reading fields from a database. One of them is a memo field which sometimes contains tabular data and sometimes does not. It is a notes field and can contain almost anything. However, when the notes contain tabs I would like to display them properly, for example:
John, the estimated support will be as follows:
1 to 10 users $100.00
10 -20 $200.00
20 + users $500.00
With the exception that instead of spaces like in the above example, the memo field will actuall contain tabs.
I have tried repalcing tabs with \t and using Java like below but I lose my font in the <pre>:
document.write("<font face=\"Arial\" size=\"3\" color=\"#008000\"><pre>")
document.write("100 Meter\t400 Meter\t1500 Meter\r")
document.write("110 Hurdles\tHigh Jump\tlong Jump\r")
document.write("Javelin\t\tPole Vault\tShot Put\r")
Is there any easy way to do this?