I have simple problem - text input element which has specified 2 CSS attributes, see code below:
<input type="text" style="resize:horizontal; width:200px" />
When only resize
attribute is specified, the input
can be resized to any width. However, if I have width
specified, the input
element can be resized only wider than 200px
, not shorter.
Is there a way how can I have default width specified and in the same time have input element resizable to any width? Wider or shorter than set by width
attribute?
Thanks for any help in advance!
EDIT - clarification: I need input element to be resizable freely - to any width - more than 200px
and less than 200px
EDIT 2 - I am preferably looking for pure CSS solution if it is possible.