The difference between width: auto; and width: 100%;
My friend Scotty asked me to help him debug a CSS issue he had with his grid generator which was caused by him defining
width: 100%;
.It’s almost never a good idea to define 100% width. The property is misleading in that it seem like you’re only modifying the element’s visual size. However,…