I'm curious why overflow: auto;
rule adds scrollbar in this case
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, how is that overflowing the container box?