I am intrigued as to why the overflow: auto;
rule is causing a scrollbar to appear in this particular scenario
CSS:
textarea {
width: 100%;
margin:0;
padding:0;
}
.span4 {
width: 300px;
}
aside {
overflow: auto;
}
html:
<aside class="span4">
<textarea cols="40" rows="20"></textarea>
</aside>
http://jsfiddle.net/ZnsW9/ If this textarea has 100% width, and without margins and paddings, why is it overflowing the container box?