Heim  >  Artikel  >  Web-Frontend  >  ie7下的问题_html/css_WEB-ITnose

ie7下的问题_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-21 09:40:43952Durchsuche

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

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn