How to put a text cursor to start on the right? Calculator

Asked

Viewed 166 times

5

I’m making a basic calculator and on the calculation screen, I want the numbers to be "printed" from right to left. How can I do this?

  • 8

    text-align: right; doesn’t solve?

  • I can’t believe I wasted time hitting myself with this. I tried other ways and nothing. That’s right, DONE, thanks!

  • 2

    @bfavaretto you can add that as an answer...

  • 2

    @bfavaretto This is a guy who didn’t come into the world by votes! What benevolence! = D

  • 3

    All right, votes go to Jedaias. Good deed of the day :)

1 answer

4

Use:

text-align: right; 

and ready! rsrsrsrsrsrsr...

Reply given in comment by @bfavaretto

  • 2

    rsrsrsrsrs...

  • 5

    I don’t think it’s fair to vote against this answer because I’ve commented on the same thing before. I intentionally gave up posting an answer, so whoever voted against for that reason, consider reversing the vote.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.