1

Is it possible to centrally align the text in an input field in Opera Mini?

I tried this, which works fine in other browsers:

<input type="text" style="text-align: center; width: 280px;"/>,

but in Opera Mini the input fields text is still left-aligned.

cjhveal
  • 5,668
  • 2
  • 28
  • 38
Pål R
  • 56
  • 5
  • Did you check if the browser is in Single Column view? That overrides many of the page styles for readability, so that may be causing the centering not to work. – Andrew Jul 31 '15 at 16:46
  • Single Column view is not activated. Activating it removes even more of the styles. – Pål R Aug 03 '15 at 07:23

1 Answers1

1

I did a few attempts but it seems that unfortunately it's not possible.

I think the input control in that browser is quite simple and doesn't allow aligning, changing font size or some more complex properties like border-radius.

Tested with Opera Mini 7.1 in a Nokia C3.

Andrew
  • 7,602
  • 2
  • 34
  • 42
  • 1
    Yeah, that is my conclusion as well. `border-radius`, I think, is explicitly mentioned as not supported, but font and alignment is supported for other controls, but not `input` and `select` as far as I can tell (might be others, but those were the two I needed this time). – Pål R Aug 04 '15 at 08:45