Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change the cursor direction?

Status
Not open for further replies.

thelordoftherings

Programmer
May 16, 2004
616
IL
Hello,

1. How to set that when entering a text box the cursor will start from right to left instead of the default left to right?

2. How to set the text at <TD> to start from right to left instead of the default left to right?

By the way, the align attribute doesn't work here, I've tried it already...


 
Have you tried the [tt]text-align[/tt] style property?

[tt]<td style="text-align: right;">stuff</td>[/tt]

and

[tt]<input type="text" name="tb1" style="text-align: right;" value="">[/tt]


*cLFlaVA
----------------------------
A pirate walks into a bar with a huge ship's steering wheel down his pants.
The bartender asks, "Are you aware that you have a steering wheel down your pants?"
The pirate replies, "Arrrrr! It's driving me nuts!
 

This does it for me in IE:

Code:
<html>
<body>
	<form>
		<input type="text" dir="rtl">
	</form>
</body>
</html>

Hope this helps,
Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top