You are not logged in.
Pages: 1
This is probably a stupid question but here goes anyway.
I have a page in the web site I am developing containing a xihna textarea that will be used by customers to enter formated notes i.e. thay want something that they can use like a wordprocessor.
My customers would like pressing a tab key in the xinha textarea to insert a tab character or something that behaves as a tab character into the text. Is this possible to do or does anyone have any alternative suggestions as to how to acheive this?
As far as I have been able to find out so far, pressing tab in IE causes the cursor to move to the next item in the page, whereas in Firefox it is converted to 3 spaces, which of course meeans that lines with differing amounts of text in the do not line up under each other.
Offline
Just incidently found this, which does work like a tab ( actually is a tab)
<p>Text<span style="white-space:pre"> </span>Text</p>
EDIT: the empty space above is the numerical entity for the tab character which is &_#9; without the _ (don't know how to enter it )
Last edited by ray (2007-03-27 18:09:16)
Offline
Pages: 1