我想讓下面的代碼工作,以便列表項均勻分佈。動態地居中和分散一個水平的ul
<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>
任何想法爲什麼它不工作?
感謝
保羅