I would like a textarea inside a fieldset to expand to the full width:
HTML
<fieldset>
<legend>Legendary</legend>
<textarea>I'm supposed to fill the fieldset, but the padding/margin isn't the same.</textarea>
<div></div>
</fieldset>
CSS
textarea{width: 100%;}
https://jsfiddle.net/gL8bjtv9/4/
However, the left/right gaps (padding/margin) between the elements are different (Firefox, Chrome).
Why does this occur, and how can it be fixed?
Also: if I change the textarea's width from "100%" (1588px computed) to "1588px" in Firefox's Inspector, it seems OK.