I'm having some strange issues with a textarea in Google Chrome.
The problem is, whenever I click on a textarea in Google Chrome, it will lose focus instantly, and go back to the previous input box. The problem doesn't happen if I press the tab key on my keyboard.
Here's a .gif showing my problem:
The code i'm using is valid html:
<div class="inputborder rounded">
<label>Celebrity 1<label>
<div class="newline"></div>
<input type="text"/>
<div class="newline"></div>
<label>Tweet 1<label>
<div class="newline"></div>
<textarea>Y U NO WORK?!</textarea>
<div class="newline"></div>
</div>
I'm not using any javascript on the page yet, apart from the jQuery library.
I'm pretty stunned as to why this is happening, as it's usually Internet Explorer that gives me problems like this.
Anyone have any idea what's wrong?
Try closing your label tags.
<div class="inputborder rounded">
<label>Celebrity 1</label>
<div class="newline"></div>
<input type="text"/>
<div class="newline"></div>
<label>Tweet 1</label>
<div class="newline"></div>
<textarea>Y U NO WORK?!</textarea>
<div class="newline"></div>
</div>
You haven't closed your label tags properly. You have <label>
when it should be </label>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With