Text box justifying

M

mantrid

Hello
How do you make the value in a textbox show as justified right instead of
the default left?
Ian
 
N

Nik Coughlin

mantrid said:
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>
 
M

mantrid

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top