Posted by Nik Coughlin on 01/04/08 00:30
"mantrid" <ian.dandav@virgin.net> wrote in message
news:4Gefj.23298$1j1.18733@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>
[Back to original message]
|