How to Display lined up Output

2010-11-23 Thread Rick Colman
I have a lot of nucleotide data coming back from a query, that looks like: (T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) (D GAT) (T ACT) (E GAA) (S TCT) (W TGG) (K AAA) (S TCT) (Y TAC) (Y TAC) (K AAA) (S TCT) (D GAT) (P CCA) (L CTG) (C TGC) (S TCT) (A GCT) (V

Re: How to Display lined up Output

2010-11-23 Thread Rick Colman
The display in my original message below is not correct. It looks like one long text string and when displayed, it is a jumble because it just seems to wrap whereever. I want it to look like: (T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) (I ATC) (D GAT) (T ACT) (E

Re: How to Display lined up Output

2010-11-23 Thread Wil Genovese
A fast simple way would be to use CFGRID. This gives you a dynamic sortable data grid. OR Put the data in an HTML table. The old fashion way is still preferred for tabular data even though CSS is all the rage these days. Wil Genovese Owner / Sr Web Application Developer / Systems

RE: How to Display lined up Output

2010-11-23 Thread Justin Scott
It looks like one long text string and when displayed, it is a jumble because it just seems to wrap whereever. You could use the pre HTML tag and ensure that the output has the proper spacing and line breaks (ASCII character 10) in the right places and the browser will output it as it appears

Re: How to Display lined up Output

2010-11-23 Thread Ian Skinner
If you don't want to use a table or grid, you may also want to try then under utilized pre.../pre tags that gives you old fashioned character alignment, over riding the HTML default to ignore spaces and character in output.

Re: How to Display lined up Output

2010-11-23 Thread Rick Colman
I may need to copy and paste the text string into another form field. Putting in extra ascii characters (like a line break) may screw things up because of the way the text is later processed. apparently, pre does not work with textarea ... On 11/23/2010 10:29 AM, Justin Scott wrote: It looks

Re: How to Display lined up Output

2010-11-23 Thread Rick Colman
pre by itself works great, but then I get one giant long 500 character text line ... On 11/23/2010 10:29 AM, Ian Skinner wrote: If you don't want to use a table or grid, you may also want to try then under utilizedpre.../pre tags that gives you old fashioned character alignment, over

Re: How to Display lined up Output

2010-11-23 Thread Ian Skinner
On 11/23/2010 10:40 AM, Rick Colman wrote: pre by itself works great, but then I get one giant long 500 character text line ... Well, either populate the string with some carriage returns and|or new line characters. OR You can apply CSS to the pre element, it's falls somewhere between a