Tabs are a single character with no physical size. It's up to the displaying (interpreting) program how wide they show as. In VFP, you can actually set the number of spaces they'll display in Tools->Options. Of course, that has NO effect outside VFP.
Tabs are regarded as white space (i.e. ignored) in most places in HTML. Inside a PRE tag, it's up to the browser to decide how they should be interpreted. If you absolutely must do this columnar display without using an actual table, you should PADR() all elements to a consistent length or you're at the mercy of whatever browser (and version) the recipient is using.
Dan
>Steve -
>
>Thanks for your help. The < PRE > tag worked pretty well. My next problem:
>
>In VFP, this lines up in Courier 10pt.
>
>As you can see here, in HTML it doesn't.
>
>
>Contract Terms:
>
> # Commodity Qty Unit
> -- -------------- ---- ----------
> 1 Corn 100 KG
> 2 Wheat Futures 200 Bushels
>
>
>Is there any way to set the # of columns a TAB generates in VFP? It looks like they come out at 4 characters each in VFP, but 8 characters in HTML.
>
>- George
>
>In VFP,
>>You can use an HTML table, or perhaps you enclose that section inside of < PRE> and < /PRE> tags (without the spaces).
>>
>>>Hi, all!
>>>
>>>I was just wondering...
>>>
>>>We have an application, which has memo fields which allow tabs. They look great when output to our FRX reports.
>>>
>>>Here's the problem: When we output the same memo fields to areas of HTML documents, they come out as plain spaces in the browser. The client wants them to be spaced out properly in email attachments, etc.
>>>
>>>Anyone got an easy solution?
>>>
>>>TIA
>>>
>>>- George