【发布时间】:2011-07-23 22:45:48
【问题描述】:
我正在尝试使以下代码正常工作,以使列表项均匀分布。
<html>
<head>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.js"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.14/jquery-ui.js"></script>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/ui-lightness/jquery-ui.css" type="text/css" />
<style type="text/css">
.wizard
{
background: #ccc;
padding: 0;
width: 1000px;
}
.wizard ul
{
list-style: none;
margin: 0;
padding: 0;
text-align: justify;
}
.wizard ul li
{
display: inline;
}
.wizard ul li.wizard-img
{
visibility: hidden;
overflow: hidden;
}
.wizard ul li.wizard-img img
{
height: 0px;
width: 990px;
}
</style>
<script>
$(function() {
$( "#progressbar" ).progressbar({
value: 60
});
});
</script>
</head><body>
<div id="progressbar" style="width:1000px"></div>
<div class="wizard">
<ul><li>Item one</li><li>Item two</li><li>Item three</li><li>Item four</li><li>Item five</li><li class="wizard-img"><img/></li></ul>
</div>
</body>
</html>
任何想法为什么它不起作用?
谢谢
保罗
【问题讨论】: