I'm having trouble setting up a gallery section using bootstrap. The scrollspy feature doesn't seem to be creating a scrollable area for the images. Instead, the images are overlapping the borders and running all the way to the bottom of the page.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title></title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/gallery.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container-fluid" id="container-fluid">
<div class="container">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="home-page.html" class="navbar-left" id="nav-brand"><img src="images/sugar-logo.png" style="width:100%;height:100%;"></a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li ><a href="home-page.html">Home</a></li>
<li ><a href="experience.html">Experience</a></li>
<li class="active"><a href="#">Gallery</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>
<li><a href="#"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
</ul>
</div>
</div>
</nav>
<div class="row" id="content" >
<div class="col-md-4" id="text">
<h3>What to Expect</h3>
</div>
<div class="col-md-8" id="slides" data-spy="scroll" data-offset="0" >
<div class="col-md-4">
<img src="images/01.jpg" class="img-responsive" alt="" width="100%" height="100%">
</div>
<div class="col-md-4">
<img src="images/02.jpg" class="img-responsive" alt="" width="100%" height="100%">
</div>
<div class="col-md-4">
<img src="images/03.jpg" class="img-responsive" alt="" width="100%" height="100%">
</div>
<div class="col-md-4">
<img src="images/04.jpg" class="img-responsive" alt="" width="100%" height="100%">
</div>
<!-- More image divs here -->
</div>
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.min.js"></script>
</body>
</html>
CSS Code
body{
padding: 0px;
margin: 0px;
}
#container-fluid{
background-image: url("background/bground-main.png");
background-position: cover;
z-index: -1;
}
.container{
width: 80%;
margin-top: 50px;
margin-bottom: 100px;
background-color: white;
border-radius: 25px;
border: 2px solid white;
padding: 20px;
height:auto;
background-color: #e6e6e6;
}
#nav-brand{
width: auto;
height: 80px;
}
.navbar-default {
background-color: #bfdcf2;
border-color: #000000;
}
<!-- More CSS styling properties here -->
Looking for some help with this issue.