I have floated elements in a DIV which wrap onto the next line. Instead of wrapping, I would like these elements to simply run off the screen. I’ve tried using white-space:nowrap without success.
CSS
img {
float: left;
}
div {
overflow: hidden;
}
HTML
<body>
<div>
<img ... >
<img ... >
<img ... >
</div>
</body>
Use this CSS: