我创建了一个 div,该 div 有两个孩子,一个是ul
另一个,div
我想滚动该内部 div 和字体的元素以修复ul
. 我无法div
在内部添加任何其他内容div
代码
<div style="width: 200px; overflow-x: auto; ">
<ul>
<li>Some data</li>
<li>some more data </li>
</ul>
<div style="height: 70px; width: 500px">
<img src="http://www.fiveriverstech.com/wp-content/themes/fiverivers/images/about_s.jpg">
<img src="http://www.fiveriverstech.com/wp-content/themes/fiverivers/images/about_s.jpg">
<img src="http://www.fiveriverstech.com/wp-content/themes/fiverivers/images/about_s.jpg">
<img src="http://www.fiveriverstech.com/wp-content/themes/fiverivers/images/about_s.jpg">
<img src="http://www.fiveriverstech.com/wp-content/themes/fiverivers/images/about_s.jpg">
<img src="http://www.fiveriverstech.com/wp-content/themes/fiverivers/images/about_s.jpg">
<img src="http://www.fiveriverstech.com/wp-content/themes/fiverivers/images/about_s.jpg">
<img src="http://www.fiveriverstech.com/wp-content/themes/fiverivers/images/about_s.jpg">
</div>
</div>