bootstrap的轮播问题
请问我的这段代码的4个点为什么不能显示在图片下面,要怎样设置呢?<!DOCTYPEhtml><htmllang="en"><head><metacharset="UTF-...
请问我的这段代码的4个点为什么不能显示在图片下面,要怎样设置呢?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>1.html</title>
<script src="http://how2j.cn/study/js/jquery/2.0.0/jquery.min.js"></script>
<link href="http://how2j.cn/study/css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet">
<script src="http://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>
<style>
body{
background:red;
}
</style>
</head>
<body>
<div id="a" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators" id="a">
<li data-target="#a" data-slide-to="0" class="active"></li>
<li data-target="#a" data-slide-to="1"></li>
<li data-target="#a" data-slide-to="2"></li>
<li data-target="#a" data-slide-to="3"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="http://how2j.cn/img/site/step/3491.png" alt="">
</div>
<div class="item">
<img src="http://how2j.cn/img/site/step/3492.png" alt="">
</div>
<div class="item">
<img src="http://how2j.cn/img/site/step/3493.png" alt="">
</div>
<div class="item">
<img src="http://how2j.cn/img/site/step/3494.png" alt="">
</div>
</div>
</div>
</body>
</html> 展开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>1.html</title>
<script src="http://how2j.cn/study/js/jquery/2.0.0/jquery.min.js"></script>
<link href="http://how2j.cn/study/css/bootstrap/3.3.6/bootstrap.min.css" rel="stylesheet">
<script src="http://how2j.cn/study/js/bootstrap/3.3.6/bootstrap.min.js"></script>
<style>
body{
background:red;
}
</style>
</head>
<body>
<div id="a" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators" id="a">
<li data-target="#a" data-slide-to="0" class="active"></li>
<li data-target="#a" data-slide-to="1"></li>
<li data-target="#a" data-slide-to="2"></li>
<li data-target="#a" data-slide-to="3"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="http://how2j.cn/img/site/step/3491.png" alt="">
</div>
<div class="item">
<img src="http://how2j.cn/img/site/step/3492.png" alt="">
</div>
<div class="item">
<img src="http://how2j.cn/img/site/step/3493.png" alt="">
</div>
<div class="item">
<img src="http://how2j.cn/img/site/step/3494.png" alt="">
</div>
</div>
</div>
</body>
</html> 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询