Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Input of type number has text-align right on Opera #158

alefteris opened this Issue · 3 comments

4 participants


On Opera has user agent style text-align: right. Other browsers I tested like Firefox and Chrome align text on the left. So, it would be nice to normalize this difference?

html:not([dir="rtl"]) input {
    text-align: left;

Would that cover it?


Since Opera changes to Webkit this will probably be the same as in Chrome and Safari.

Personally I don't think this needs to be tackled because

  • it does not break anything
  • globally Opera has poor market share
  • it may get fixed soon.

Meanwhile you can check out my small test-case.


I'm going to pass on this for the reasons @drublic mentioned. I don't think it's worth the potential drawbacks. Something you can do in your app-level CSS instead. Thanks for reporting :)

@necolas necolas closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.