I have an issue where overflow:hidden; does not seem to be working.
I am trying to make it such that several inline elements wrapped in a div get cut off through overflow: hidden; at 20 pixels
Markup:
<div class="container"> <span>Hello World 1</span> <span>Hello World 2</span> <span>Hello World 3</span> </div> CSS:
.container { width: 20px; overflow: hidden; } fiddle: http://jsfiddle.net/7XHPC/
The code shows the Hello World inline elements wrapping around the container and not getting cut off via overflow: hidden;
Any advice would be appreciated. Thanks.