Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q89 Can I show tabular data without using tables?

irt.org | Knowledge Base | JavaScript | Table | Q89 [ previous next ]

Q89 Can I show tabular data without using tables?

1. You could use the <pre> and </pre> tags to format your data:

<pre>
          X  XX  XXX  XXXX  XXXXX
row 1     1  12  123  1234  12345
row 2     9  99  999  9999  99999
row 3     9      999        99999
row 4        99       9999       
</pre>

2. You could use a textarea in a form:

<form>
<pre>
          x  xx  xxx  xxxx  xxxxx
</pre>
<textarea cols="40" rows="10">
row 1     1  12  123  1234  12345
row 2     9  99  999  9999  99999
row 3     9      999        99999
row 4        99       9999       
row 5     1  12  123  1234  12345
row 6     9  99  999  9999  99999
row 7     9      999        99999
row 8        99       9999       
row 9     1  12  123  1234  12345
row 10    9  99  999  9999  99999
row 11    9      999        99999
row 12       99       9999       
row 13    1  12  123  1234  12345
row 14    9  99  999  9999  99999
row 15    9      999        99999
row 16       99       9999       
row 17    1  12  123  1234  12345
row 18    9  99  999  9999  99999
row 19    9      999        99999
row 20       99       9999       
</textarea>
</form>

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 6th July 2009. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2009 irt.org, All Rights Reserved.