Forums

This topic is locked

Align text to right in text field

Posted 28 Nov 2003 18:21:33
1
has voted
28 Nov 2003 18:21:33 Russell Marshall posted:
I would like to be able to align the text to the right in a text field as it will look neater because it containd a number.

I have tried the following but it does not work.

<input name="txt_email" type="text" align="right" id="txt_email" value="value" readonly>

This is probably very simple when you know how.

Any ideas.

Thanks

Davrus

Russell

Replies

Replied 28 Nov 2003 18:25:16
28 Nov 2003 18:25:16 Janusz Jasinski replied:
Try:

www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=208&lngWId=2

or

forums.devshed.com/archive/1/2001/2/4/10895


Janusz

======================
www.xlibris.co.uk
janusz.monkey-it.co.uk

ASP | VBScript | IIS 5.1 | Windows XP Pro | Linux Redhat 9 | SuSE 9 Pro | Linux FreeBSD 4.9 | PHP 5.0.0 Beta 2 | MySQL 4.0 | Apache 2.0.48 | Macromedia Studio w/t Flash 2004 | Microsoft Office Pro 2003 | Mozilla Firebird 0.7 | IE 6 | B.O.R.E.D @ HoMe

Reply to this topic