nowrap for my textarea isnt working. Could someone please tell me what am I doing wrong? Here is my code from .php file:
<div class="uprava">
<input id="inputBox" type="textarea" name="obsah" value="<?php echo $obsah; ?>"/>
</div>
<script>document.getElementById("inputBox").style.whiteSpace = "nowrap";</script>
and here it is from CSS:
#inputBox {
height: 184px;
font-size: 16px;
width:auto;
min-width: 100%;
margin-bottom: 10px;
-webkit-appearance: none;
background: #fff;
border: 1px solid #d9d9d9;
border-top: 1px solid #c0c0c0;
padding: 0 8px;
box-sizing: border-box;
-moz-box-sizing: border-box;
}