Skip to content Skip to sidebar Skip to footer

Can't Reduce Size Of Resizable Textarea In Chrome

I have a textarea: For some reason I can't make it smaller when resizing with mouse cursor i

Solution 1:

You've done nothing wrong, your code is correct, but you've encountered a bug in Chrome: https://code.google.com/p/chromium/issues/detail?id=94583

It treats your css height value as a min-height value, a bug that's been around for at least 2 years

Solution 2:

Try this

<textareacols="1"rows="1"style="width:auto; min-width:300px; height:200px; resize:both;"></textarea>

I think in chrome we cant reduce width if its set.

Post a Comment for "Can't Reduce Size Of Resizable Textarea In Chrome"