图片滑块不适用于我的网站。
我在这里使用引导程序
https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css
我的图像一幅接一幅地
但是如果我使用
https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/css/bootstrap.min.css
然后图像滑块工作正常。但是我的网站其他布局发生了变化。
我的HTML代码
<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
<h2>Carousel Example</h2>
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
<li data-target="#myCarousel" data-slide-to="1"></li>
<li data-target="#myCarousel" data-slide-to="2"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<div class="item active">
<img src="image/Banner_01.jpg" alt="Los Angeles" style="width:100%;">
</div>
<div class="item">
<img src="image/Banner_02.jpg" alt="Chicago" style="width:100%;">
</div>
<div class="item">
<img src="image/Banner_03.jpg" alt="New york" style="width:100%;">
</div>
</div>
</div>
</div>
</body>
</html>
那我现在该怎么办?