Make input elements not inherit parent containers alignment

Added a reftest for input element's alignment

Added float: left beacause text-align: center centers the input's itself.

Removed 'rtl' alignment
This commit is contained in:
Nazım Can Altınova 2016-03-29 02:22:01 +03:00
parent cf4fa0a9f4
commit c13ea8a253
4 changed files with 53 additions and 1 deletions

View file

@ -1,4 +1,4 @@
input { background: white; min-height: 1.0em; padding: 0em; padding-left: 0.25em; padding-right: 0.25em; border: solid lightgrey 1px; color: black; white-space: nowrap; }
input { background: white; min-height: 1.0em; padding: 0em; padding-left: 0.25em; padding-right: 0.25em; border: solid lightgrey 1px; color: black; white-space: nowrap; text-align: left; }
textarea { background: white; min-height: 1.0em; padding: 0em; padding-left: 0.25em; padding-right: 0.25em; border: solid lightgrey 1px; color: black; white-space: pre; }
button,
input[type="button"],