html jsbin.fixer.css

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了html jsbin.fixer.css相关的知识,希望对你有一定的参考价值。

.container {
  /* removed width here */
  border: 1px solid black;  
  height:80px; 
  overflow-x:auto; 
  overflow-y:hidden; /* turns off y-scrollbar */
  display:block;
}
.image-container {
  background: blue; 
  border:1px solid black; 
  width:50px; 
  height: 50px;
}
/* changed to a div */
.span-container {
  background: green; 
  border:1px solid black; 
  width:50px; 
  height: 50px; 
  float: left;
}
<table>
    <thead>
        <tr>
            <th>
                <div class="container">    
                    <div class="span-container">
                        <div class="image-container">
                          <img src="http://jsfiddle.net/img/logo.png"/> 
                        </div>
                        <div>Test</div>
                    </div>
                    
                    <div class="span-container">
                        <div class="image-container">
                          <img src="http://jsfiddle.net/img/logo.png"/> 
                        </div>
                        <div>Test</div>
                    </div>
                 
                  <div class="span-container">
                        <div class="image-container">
                          <img src="http://jsfiddle.net/img/logo.png"/> 
                        </div>
                        <div>Test</div>
                    </div>
                 
                  <div class="span-container">
                        <div class="image-container">
                          <img src="http://jsfiddle.net/img/logo.png"/> 
                        </div>
                        <div>Test</div>
                    </div>
                   
                  <div class="span-container">
                        <div class="image-container">
                          <img src="http://jsfiddle.net/img/logo.png"/> 
                        </div>
                        <div>Test</div>
                    </div>
                                       
                </div>
            </th>
        </tr>
    </thead>
</table>

以上是关于html jsbin.fixer.css的主要内容,如果未能解决你的问题,请参考以下文章

Html.Partial 与 Html.RenderPartial 和 Html.Action 与 Html.RenderAction

html Html模板/ Html Boilerplate |标签HTML

html里怎么引用一个html的头部

html5与传统html区别

html4和html5的区别

HTML元素