Text box justifying

Hello
How do you make the value in a textbox show as justified right instead of
the default left?
Ian
mantrid [ Fr, 04 Januar 2008 01:00 ] [ ID #1900059 ]

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>
Nik Coughlin [ Fr, 04 Januar 2008 01:30 ] [ ID #1900060 ]

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>
>
mantrid [ Fr, 04 Januar 2008 17:08 ] [ ID #1900089 ]
Miscellaneous » alt.html » Text box justifying

Vorheriges Thema: Confusion on HTML visibility
Nächstes Thema: Link text