Text box justifying
Hello
How do you make the value in a textbox show as justified right instead of
the default left?
Ian
Re: Text box justifying
"mantrid" <ian.dandav [at] virgin.net> wrote in message
news:4Gefj.23298$1j1.18733 [at] newsfe7-gui.ntli.net...
> Hello
> How do you make the value in a textbox show as justified right instead of
> the default left?
> Ian
Turn your monitor upside down.
Or:
<style type="text/css">
..numeric {
text-align: right;
}
</style>
<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">
</form>
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.
Ian
"Nik Coughlin" <nrkn.com [at] gmail.com> wrote in message
news:fljuks$muf$1 [at] aioe.org...
>
> "mantrid" <ian.dandav [at] virgin.net> wrote in message
> news:4Gefj.23298$1j1.18733 [at] newsfe7-gui.ntli.net...
> > Hello
> > How do you make the value in a textbox show as justified right instead
of
> > the default left?
> > Ian
>
> Turn your monitor upside down.
>
> Or:
>
> <style type="text/css">
> .numeric {
> text-align: right;
> }
> </style>
> <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">
> </form>
>