<link type="text/css" href="../demos.css" rel="stylesheet" />
<style type="text/css">
#demo-frame > div.demo { padding: 10px !important; }
- .scroll-pane { overflow: auto; width: 99%; }
- .scroll-content { width: 2440px; }
+ .scroll-pane { overflow: auto; width: 99%; float:left; }
+ .scroll-content { width: 2440px; float: left; }
.scroll-content-item { width: 100px; height: 100px; float: left; margin: 10px; font-size: 3em; line-height: 96px; text-align: center; }
* html .scroll-content-item { display: inline; } /* IE6 float double margin bug */
.scroll-bar-wrap { clear: left; padding: 0 4px 0 2px; margin: 0 -1px -1px -1px; }
<div class="demo">
-<div class="scroll-pane ui-widget ui-widget-header ui-corner-all ui-helper-clearfix">
- <div class="scroll-content" class="ui-helper-clearfix">
+<div class="scroll-pane ui-widget ui-widget-header ui-corner-all">
+ <div class="scroll-content">
<div class="scroll-content-item ui-widget-header">1</div>
<div class="scroll-content-item ui-widget-header">2</div>
<div class="scroll-content-item ui-widget-header">3</div>