ie 浏览器
<div class="shaper"> <table width="auto" cellpadding="0" cellspacing="0" border="0"> <tr> <!--柱状图循环此处的ul--> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <!--柱状图ul结束--> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> <td> <ul> <li class="shape_orange" style="height:50%"></li> <!--动态获得的数据直接替换这里style里面的height值--> <li class="shape_green" style="height:42%"></li> </ul> </td> </tr> <tr> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> <td><p class="shaper2">一中队</p></td> </tr> </table> </div>
.shaper{border:3px solid #d1d3d4;background:url(../images/shapecontentbg.jpg) repeat;margin-left:75px;min-height:199px;overflow:auto;}.shaper ul{width:64px;height:199px;position:relative;left:14px;}.shaper ul li{float:left;width:32px;background-image:url(../images/shaapelibg.png);position:absolute;bottom:0;}.shape_orange{background-position:0 0;}.shape_green{background-position:100% 0;left:32px;}
因为不能确定 X 轴上可能有很多个 所以加了滚动条 但是在 ie7 下面当柱状图很多的时候却直接就撑开了 浏览器了。滚动条 压根就没效果。求大侠出手解救。
回复讨论(解决方案)
偶的 ie7下面 真没事啊 一切正常的
而且当滚动 滚动条的时候 只有下面的 中队在滚动 上面的柱状图 居然一点反应都没有 求指点
Orz

HTMLattributesareessentialforenhancingwebelements'functionalityandappearance.Theyaddinformationtodefinebehavior,appearance,andinteraction,makingwebsitesinteractive,responsive,andvisuallyappealing.Attributeslikesrc,href,class,type,anddisabledtransform

TocreatealistinHTML,useforunorderedlistsandfororderedlists:1)Forunorderedlists,wrapitemsinanduseforeachitem,renderingasabulletedlist.2)Fororderedlists,useandfornumberedlists,customizablewiththetypeattributefordifferentnumberingstyles.

HTML is used to build websites with clear structure. 1) Use tags such as, and define the website structure. 2) Examples show the structure of blogs and e-commerce websites. 3) Avoid common mistakes such as incorrect label nesting. 4) Optimize performance by reducing HTTP requests and using semantic tags.

ToinsertanimageintoanHTMLpage,usethetagwithsrcandaltattributes.1)UsealttextforaccessibilityandSEO.2)Implementsrcsetforresponsiveimages.3)Applylazyloadingwithloading="lazy"tooptimizeperformance.4)OptimizeimagesusingtoolslikeImageOptimtoreduc

The core purpose of HTML is to enable the browser to understand and display web content. 1. HTML defines the web page structure and content through tags, such as, to, etc. 2. HTML5 enhances multimedia support and introduces and tags. 3.HTML provides form elements to support user interaction. 4. Optimizing HTML code can improve web page performance, such as reducing HTTP requests and compressing HTML.

HTMLtagsareessentialforwebdevelopmentastheystructureandenhancewebpages.1)Theydefinelayout,semantics,andinteractivity.2)SemantictagsimproveaccessibilityandSEO.3)Properuseoftagscanoptimizeperformanceandensurecross-browsercompatibility.

A consistent HTML encoding style is important because it improves the readability, maintainability and efficiency of the code. 1) Use lowercase tags and attributes, 2) Keep consistent indentation, 3) Select and stick to single or double quotes, 4) Avoid mixing different styles in projects, 5) Use automation tools such as Prettier or ESLint to ensure consistency in styles.

Solution to implement multi-project carousel in Bootstrap4 Implementing multi-project carousel in Bootstrap4 is not an easy task. Although Bootstrap...


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Chinese version
Chinese version, very easy to use

SublimeText3 Linux new version
SublimeText3 Linux latest version

Dreamweaver Mac version
Visual web development tools

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

MantisBT
Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.
