Text box justifying

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
How do you make the value in a textbox show as justified right instead of
the default left?

Re: Text box justifying

Quoted text here. Click to load it

Turn your monitor upside down.


<style type="text/css">
.numeric {
  text-align: right;
<form action="this.html" method="post">
  <input type="text" name="cost" class="numeric">
  <input type="text" name="extraCost" class="numeric">
  <input type="submit" value="Calculate">

Re: Text box justifying

cheers nick
I tied method one but my monitor complained of feeling sick, then I had the
bright idea turning my self upside down but I fell of my chair. I suppose I
have to try the second, less sensible of your methods. Hope it works.

Quoted text here. Click to load it

Site Timeline