margin-top won't work on background-image in css - html

<title>food</title>
<link href="bootstrap-3.3.7-dist/css/bootstrap-theme.min.css" rel="stylesheet">
<link href="bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
<link href="font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<body>
<header>
<div class="row">
<div class="logo">
<img src=""/>
</div>
<ul class="main-nav">
<li> Food Delivery</li>
<li> Food orders</li>
<li> Our Cities</li>
<li> Services</li>
</ul>
</div>
<div class="hero">
<h1>Welcome To <br> Luke's LandScaping Services</h1>
<div class="button-awesome">
Show me more
I'M Hungry
</div>
</div>
</header>
<section class="features">
<h3 class="text-centre">Professional Gardening Services Designed to Suit Your Preferences </h3>
<p class="copy">
</p>
<div class="container">
<div class="row">
<div class="col-md-3">
<i class="fa fa-certificate"></i>
<h4> Have Healthy Meals</h4>
<p class="arranging">
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in
</p>
</div>
<div class="col-md-3">
<i class="fa fa-camera"></i>
<h4> Have Healthy Meals</h4>
<p class="arranging">
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in
</p>
</div>
<div class="col-md-3">
<i class="fa fa-envelope"></i>
<h4> Have Healthy Meals</h4>
<p class="arranging">
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in
</p>
</div>
<div class="col-md-3">
<i class="fa fa-cog"></i>
<h4> Have Healthy Meals</h4>
<p class="arranging">
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in
</p>
</div>
</div>
</div>
</section>
<section class="meal">
<ul class="meal-showcase">
<li>
<figure class="meal-photo">
<img src="17.jpg">
</figure>
</li><li>
<figure class="meal-photo">
<img src="17.jpg">
</figure>
</li>
<li>
<figure class="meal-photo">
<img src="17.jpg">
</figure>
</li><li>
<figure class="meal-photo">
<img src="17.jpg">
</figure>
</li><li>
<figure class="meal-photo">
<img src="17.jpg">
</figure>
</li><li>
<figure class="meal-photo">
<img src="17.jpg">
</figure>
</li>
<li>
<figure class="meal-photo">
<img src="17.jpg">
</figure>
</li>
<li>
<figure class="meal-photo">
<img src="17.jpg">
</figure>
</li>
</ul>
</section>
<section class="area">
<h3 class="text-centre"> We Are Currently In These Areas</h3>
</section>
</body>
trying to get a margin- top from the image to separate them but not working for some reason
tried googling it and nothing helped im lost ha
.area
{
background-image:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(lawnGarden.jpg);
height:100vh;
background-position:center;
background-size:cover;
background-attachment: fixed;
display:inline-block
margin-top:100px;
}
this is just me practicing and learning im new to this

Remove the display-inline CSS property and try it.

Related

Animated.css with a sticky navbar

Please help. That's my problem (see the screenshot below):
As you can see the navigation bar is underneath the image. This is my code:
<div class="navwrapper">
<header class="nav">
<nav>
<div class="menu-icon">
<i class="fa fa-bars fa-2x"></i>
</div>
<div class="logo">
<img class="d-none d-md-block d-none" src="logo.png" alt="">
</div>
<div class="menu">
<ul>
<li>FŐOLDAL</li>
<li>RÓLUNK</li>
<li>RENDELÉS</li>
<li>KAPCSOLAT</li>
</ul>
</div>
</nav>
</header>
<section class="bg">
<section style="text-align:center;vertical-align:middle" class="sec1">
<img class="animated bounceInDown" src="logo.png" alt="">
</section>
</section>
</div>

HTML gallery have a 4 columns and not 3

I need to know that as it is determined that these lines of code contain 4 columns. I need this to be flexible. Since in some cases I occupy only 2 or 3 images. The problem I have is that no matter how many images you call, the container always contemplates having 4. I can not figure out how to modify this. I would appreciate your help.
<ul class="photo-gallery">
<li>
<figure>
<div class="gallery-item">
<a href="Asphalt_A3.jpg">
<img src="lTireBtn1.jpg" alt="">
<figcaption>
<div class="centrize">
<div class="v-center">
<i class="hc-search"></i>
</div>
</div>
</figcaption>
</a>
</div>
</figure>
</li>
<li>
<figure>
<div class="gallery-item">
<a href="Asphalt_A2.jpg">
<img src="TireBtn2.jpg" alt="">
<figcaption>
<div class="centrize">
<div class="v-center">
<i class="hc-search"></i>
</div>
</div>
</figcaption>
</a>
</div>
</figure>
</li>
<li>
<figure>
<div class="gallery-item">
<a href="Asphalt_A1.jpg">
<img src="TireBtn3.jpg" alt="">
<figcaption>
<div class="centrize">
<div class="v-center">
<i class="hc-search"></i>
</div>
</div>
</figcaption>
</a>
</div>
</figure>
</li>
</ul>

white space bottom right in mobile view in chrome

How to disable container class just in mobile view ?
It looks like you have some closing tags in your code that weren't really closing anything. Even in JSFiddle those tags were displayed in red.
When I removed them like in here, the white space between the footer and the copyright dissappeared. Not sure if that's what you wanted but it's generally not a good idea to have unnessecary closing tags.
<meta charset="UTF-8">
<title>IDEO</title>
<link href="files/css/style.css" rel="stylesheet" type="text/css">
<link href="files/css/bootstrap.css" rel="stylesheet" type="text/css">
<link href="files/img/head.png" rel="shortcut icon">
<script src="http://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<link href="files/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css">
<link href="http://fontawesome.io/assets/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/prefixfree/1.0.7/prefixfree.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<body>
<div id="header-container" class="menu-cursor navbar navbar-default navbar-fixed-top">
<p class="menu-logo">Logo</p>
<span style="font-size:30px;cursor:pointer" onclick="openNav()">☰ </span>
</div>
<div id="myNav" class="overlay">
×
<div class="overlay-content">
Home
About
Services
Clients
Contact
<ul class="small-menus">
<li>SampleSampleSampleSampleSample</li>
</ul>
</div>
</div>
<div class="container-fluid slider-section">
<div class="slider col-lg-8 col-md-8 col-sm-12">
<h1 class="slider-text-typewriting"> </span> </h1>
<h1 class="slider-text-typewriting"> </span> </h1>
<h1 class="slider-text-typewriting"> </span> </h1>
</div>
<div class="col-lg-3 col-md-3 slider-content">
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.</p>
<p></p>
<p class="HomeHeader-ContactLink">Contact Us</p>
</div>
</div>
<ul class="Bands">
<div class="Band ThreeRichTilesBand WithinRowsOfBands">
<div class="container">
<div class="RichTile RichTile--small RichTile--left col-lg-4 col-md-4 col-sm-12">
<div class="RichTile-Content">
<div class="RichTile-ImageContainer">
<a href="#">
<div class="SmartImage SmartImage--background" style="background-image:url(files/img/blog.png);"></div>
</a>
</div>
<div class="RichTile-MainContainer">
<h3 class="RichTile-TypesRow"><span class="RichTile-Type">Name</span></h3>
<h2 class="RichTile-Title"><span>Sample heading text </span></h2>
</div>
</div>
</div>
<div class="RichTile RichTile--small RichTile--left col-lg-4 col-md-4 col-sm-12">
<div class="RichTile-Content">
<div class="RichTile-ImageContainer">
<a href="#">
<div class="SmartImage SmartImage--background" style="background-image:url(files/img/blog.png);"></div>
</a>
</div>
<div class="RichTile-MainContainer">
<h3 class="RichTile-TypesRow"><span class="RichTile-Type">Case Study</span><span class="RichTile-TypeSecond">Name</span></h3>
<h2 class="RichTile-Title"><span>Sample heading text </span></h2>
</div>
</div>
</div>
<div class="RichTile RichTile--small RichTile--left col-lg-4 col-md-4 col-sm-12">
<div class="RichTile-Content">
<div class="RichTile-ImageContainer">
<a href="#">
<div class="SmartImage SmartImage--background" style="background-image:url(files/img/blog.png);"></div>
</a>
</div>
<div class="RichTile-MainContainer">
<h3 class="RichTile-TypesRow"><span class="RichTile-Type">blog</span><span class="RichTile-TypeSecond">Blog Name</span></h3>
<h2 class="RichTile-Title"><span>Sample heading text </span></h2>
</div>
</div>
</div>
<!--</div>
<div class="container">-->
<div class="RichTile RichTile--small RichTile--left col-lg-4 col-md-4 col-sm-12">
<div class="RichTile-Content">
<div class="RichTile-ImageContainer">
<a href="#">
<div class="SmartImage SmartImage--background" style="background-image:url(files/img/blog.png);"></div>
</a>
</div>
<div class="RichTile-MainContainer">
<!-- react-text: 102 --><!-- /react-text -->
<h3 class="RichTile-TypesRow"><span class="RichTile-Type">Name</span></h3>
<h2 class="RichTile-Title"><span>Sample heading text </span></h2>
</div>
</div>
</div>
<div class="RichTile RichTile--small RichTile--left col-lg-4 col-md-4 col-sm-12">
<div class="RichTile-Content">
<div class="RichTile-ImageContainer">
<a href="#">
<div class="SmartImage SmartImage--background" style="background-image:url(files/img/blog.png);"></div>
</a>
</div>
<div class="RichTile-MainContainer">
<!-- react-text: 114 --><!-- /react-text -->
<h3 class="RichTile-TypesRow"><span class="RichTile-Type">Case Study</span><span class="RichTile-TypeSecond">Name</span></h3>
<h2 class="RichTile-Title"><span>Sample heading text </span></h2>
</div>
</div>
</div>
<div class="RichTile RichTile--small RichTile--left col-lg-4 col-md-4 col-sm-12">
<div class="RichTile-Content">
<div class="RichTile-ImageContainer">
<a href="#">
<div class="SmartImage SmartImage--background" style="background-image:url(files/img/blog.png);"></div>
</a>
</div>
<div class="RichTile-MainContainer">
<!-- react-text: 127 --><!-- /react-text -->
<h3 class="RichTile-TypesRow"><span class="RichTile-Type">blog</span><span class="RichTile-TypeSecond">Blog Name</span></h3>
<h2 class="RichTile-Title"><span>Sample heading text </span></h2>
</div>
</div>
</div>
</div>
</div>
<div class="Band FeaturedTileBand FeaturedTileBand--left">
<div class="FeaturedTileBand-ImageContainer">
<div class="SmartImage SmartImage--background" style="background-image:url(files/img/blog-main.jpg);"></div>
</div>
<div class="FeaturedTileBand-Content">
<div class="Grid">
<div class="FeaturedTileBand-PlaceholderContainer">
<div class="FeaturedTileBand-Placeholder"></div>
</div>
<div class="FeaturedTileBand-MainContainer">
<div class="FeaturedTileBand-Main">
<div class="FeaturedTileBand-MainContent">
<h3 class="FeaturedTileBand-TypesRow">
<span class="FeaturedTileBand-Type">questions</span><!-- react-text: 146 --><!-- /react-text -->
</h3>
<h2 class="FeaturedTileBand-Title"><span>Lorem Ipsum is simply dummy text of the printing </span></h2>
<div class="FeaturedTileBand-Divider"></div>
<p class="FeaturedTileBand-Dek">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's</p>
<a class="Button" href="#">See our response</a>
</div>
<!-- react-text: 153 --><!-- /react-text -->
</div>
</div>
</div>
</div>
</div>
<div class="container home-four">
<h2>Sample Heading</h2>
<ul>
<li><i class="fa fa-eject"></i>Sample text</li>
<li><i class="fa fa-eject"></i>Sample text</li>
<li><i class="fa fa-eject"></i>Sample text</li>
<li><i class="fa fa-eject"></i>Sample text</li>
<li><i class="fa fa-eject"></i>Sample text</li>
<li><i class="fa fa-eject"></i>Sample text</li>
<li><i class="fa fa-eject"></i>Sample text</li>
<li><i class="fa fa-eject"></i>Sample text</li>
<li><i class="fa fa-eject"></i>Sample text</li>
<li><i class="fa fa-eject"></i>Sample text</li>
</ul>
</div>
<div class="container home-five">
<div>
<h2>Sample Heading</h2>
</div>
<div class="col-lg-4">
<div class="background"></div>
<h2>
<center>Heading Sample Text</center>
</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
<div class="col-lg-4">
<div class="background"></div>
<h2>
<center>Heading Sample Text</center>
</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
<div class="col-lg-4">
<div class="background"></div>
<h2>
<center>Heading Sample Text</center>
</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
<div class="col-lg-4">
<div class="background"></div>
<h2>
<center>Heading Sample Text</center>
</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
<div class="col-lg-4">
<div class="background"></div>
<h2>
<center>Heading Sample Text</center>
</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
<div class="col-lg-4">
<div class="background"></div>
<h2>
<center>Heading Sample Text</center>
</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
<div class="col-lg-4">
<div class="background"></div>
<h2>
<center>Heading Sample Text</center>
</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
<div class="col-lg-4">
<div class="background"></div>
<h2>
<center>Heading Sample Text</center>
</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
<div class="col-lg-4">
<div class="background"></div>
<h2>
<center>Heading Sample Text</center>
</h2>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
</div>
</div>
<div class="Band PairTilesBand lightBlue WithinRowsOfBands">
<div class="Grid">
<div class="RichTile RichTile--small RichTile--left">
<div class="RichTile-Content">
<div class="RichTile-MainContainer">
<!-- react-text: 162 --><!-- /react-text -->
<h3 class="RichTile-TypesRow"><span class="RichTile-Type">Case Study</span><span class="RichTile-TypeSecond">Names</span></h3>
<h2 class="RichTile-Title"><span>Lorem Ipsum is simply dummy text of the printing</span></h2>
</div>
</div>
</div>
<div class="RichTile RichTile--medium RichTile--left">
<div class="RichTile-Content">
<div class="RichTile-ImageContainer">
<a href="#">
<div class="SmartImage SmartImage--background" style="background-image:url(files/img/corporate.jpg);"></div>
</a>
</div>
<div class="RichTile-MainContainer">
<!-- react-text: 175 --><!-- /react-text -->
<h3>Case StudyNames</h3>
<h2 class="RichTile-Title"><span>Lorem Ipsum is simply dummy text</span></h2>
<p class="more-link float-right">More <i class="fa fa-arrow-right"></i></p>
</div>
</div>
</div>
</div>
</div>
<div class="Band ThreeRichTilesBand WithinRowsOfBands">
<div class="Grid">
<div class="RichTile RichTile--small RichTile--left">
<div class="RichTile-Content">
<div class="RichTile-ImageContainer">
<a href="#">
<div class="SmartImage SmartImage--background" style="background-image:url(files/img/corporate.jpg);"></div>
</a>
</div>
<div class="RichTile-MainContainer">
<!-- react-text: 190 --><!-- /react-text -->
<h3 class="RichTile-TypesRow"><span class="RichTile-Type">Case Study</span><span class="RichTile-TypeSecond">Names</span></h3>
<h2 class="RichTile-Title"><span>Lorem Ipsum is simply dummy </span></h2>
</div>
</div>
</div>
<div class="RichTile RichTile--small RichTile--left">
<div class="RichTile-Content">
<div class="RichTile-ImageContainer">
<a href="#">
<div class="SmartImage SmartImage--background" style="background-image:url(files/img/corporate.jpg);"></div>
</a>
</div>
<div class="RichTile-MainContainer">
<!-- react-text: 203 --><!-- /react-text -->
<h3 class="RichTile-TypesRow"><span class="RichTile-Type">Case Study </span><span class="RichTile-TypeSecond">Names</span></h3>
<h2 class="RichTile-Title"><span>Lorem Ipsum is simply dummy text. </span></h2>
</div>
</div>
</div>
<div class="RichTile RichTile--small RichTile--left">
<div class="RichTile-Content">
<div class="RichTile-ImageContainer">
<a href="#">
<div class="SmartImage SmartImage--background" style="background-image:url(files/img/corporate.jpg);"></div>
</a>
</div>
<div class="RichTile-MainContainer">
<!-- react-text: 216 --><!-- /react-text -->
<h3 class="RichTile-TypesRow"><span class="RichTile-Type">blog</span><span class="RichTile-TypeSecond">Names</span></h3>
<h2 class="RichTile-Title"><span>Lorem Ipsum is simply dummy text. </span></h2>
</div>
</div>
</div>
</div>
</div>
</ul>
<!--FOOTER-->
<link href="https://fortawesome.github.io/Font-Awesome/assets/font-awesome/css/font-awesome.css" rel="stylesheet">
<!--footer start from here-->
<footer>
<div class="container">
<div class="row">
<div class="col-md-4 col-sm-6 col-lg-4 footerleft ">
<div class="logofooter"> Logo</div>
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley.</p>
<p><i class="fa fa-map-pin"></i> </p>
<p><i class="fa fa-phone"></i> </p>
<p><i class="fa fa-envelope"></i> E-mail : </p>
</div>
<div class="col-md-2 col-sm-6 col-lg-4 paddingtop-bottom">
<h6 class="heading7">GENERAL LINKS</h6>
<ul class="footer-ul">
<li> Career</li>
<li> Privacy Policy</li>
<li> Terms & Conditions</li>
<li> Client Gateway</li>
<li> Ranking</li>
<li> Case Studies</li>
<li> Frequently Ask Questions</li>
</ul>
</div>
<div class="col-md-3 col-sm-6 col-lg-4 paddingtop-bottom">
<form action="" method="post">
<div class="input-prepend"><span class="add-on"><i class="icon-envelope"></i></span>
<input type="text" id="" name="" placeholder="your#email.com" class="form-control" style="width:200px;">
</div>
<br />
<input type="submit" class="btn btn-info" value="Subscribe Now!" />
</form>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6 paddingtop-bottom">
</div>
<!--footer start from here-->
<!--footer start from here-->
<!--Pulling Awesome Font -->
<div class="copyright">
<div class="container" style="text-align: center;">
<div class="col-md-12">
<ul class="social-network social-circle">
<li><i class="fa fa-rss"></i></li>
<li><i class="fa fa-facebook"></i></li>
<li><i class="fa fa-twitter"></i></li>
<li><i class="fa fa-google-plus"></i></li>
<li><i class="fa fa-linkedin"></i></li>
</ul>
</div>
</div>
<div class="container" style="text-align: center;">
<div class="col-md-12">
<p>© 2016 -</p>
</div>
</div>
</div>
<script src="files/js/index.js"></script>
<script>
function openNav() {
document.getElementById("myNav").style.height = "100%";
}
function closeNav() {
document.getElementById("myNav").style.height = "0%";
}
</script>
</body>

CSS dual background issues [duplicate]

This question already has answers here:
Can I have multiple background images using CSS?
(8 answers)
Closed 6 years ago.
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="">
<meta name="author" content="">
<title>Main Website</title>
<link href="css/main.css" rel="stylesheet">
</head>
<body>
<nav>
<div>
<div>
<ul>
<li><a class="active" href="index.html">Home</a></li>
<li>Mens Clothing</li>
<li>Womens Clothng</li>
<li>Boys Clothing</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div>
<div>
<div class="accordion">
<ul>
<li>
<div class="caption">Slide 1</div>
<a href="#">
<img src='Slider_Image1.jpg'/></a>
</li>
<li>
<div class="caption">Slide 2</div>
<a href="#">
<img src='Slider_Image2.jpg'/></a>
</li>
<li>
<div class="caption">Slide 3</div>
<a href="#">
<img src='Slider_Image3.jpg'/></a>
</li>
</ul>
</div>
</div>
<div>
<div class="centre , fade ,">
<div class="thumbnail">
<a href="Nike_Shoes1.html">
<img src="Image1.jpg" alt="">
</div>
</div>
<div class="centre , fade">
<div class="thumbnail">
<a href="Nike_Trainers.html">
<img src="Image2.jpg" alt="">
</div>
</div>
<div class="centre , fade">
<div class="thumbnail">
<img src="Image3.jpg" alt="">
</div>
</div>
<div class="centre , fade">
<div class="thumbnail">
<a href="new.html">
<img src="Mens_Clothing.jpg" alt="Mens Clothing">
</div>
</div>
<div class="centre , fade">
<div class="thumbnail">
<a href="women_clothing.html">
<img src="Womens_Clothing.jpg" alt="Womens Clothing">
</div>
</div>
<div class="centre , fade">
<div class="thumbnail">
<a href="boys_clothing.html">
<img src="Boys_Clothing.jpg" alt="Boys Clothing">
</div>
</div>
<div class="centre , fade">
<div class="thumbnail">
<img src="Converse_clothing.jpg" alt="Converse Clothing">
</div>
</div>
<div class="centre , fade">
<div class="thumbnail">
<img src="Adidas_clothing.jpg" alt="Adidas Clothing">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div>
<!-- Footer -->
<footer>
</footer>
</div>
Here is the code for a website I am developing and I am trying to add images for the background. What I am looking to do is add 2 images on either side of the webpage, I am not sure on how to go about this also while trying to add an image as my background I see a white area the image is not set as the background, any help is appreciated.
Your best bet would be to merge the two images into one image using an image editor and then setting the merged image as your background.
Just open paint glue the 2 images together and use it as background.

bootstrap thumbnails not stacking properly

My thumbnails from bootstrap have different heights to them, and I think that issue might be causing them to not stack properly (see screenshots and fiddle). I think I need to include a min-height for them, but I'm just not able to get it working .. can anyone lend a hand?
Here is the code that I have:
<body>
<div class="container-fluid">
<div class="hidden-phone">
<a href="newBook.php">
<button class="btn btn-large btn-primary" style="float:right; margin-top:30px;" type="button">Add Book</button>
</a>
</div>
<div class="row-fluid">
<div class="span12 well">
<div class="row-fluid">
<ul class="thumbnails">
<li class="span4">
<div class="thumbnail">
<img src="http://placehold.it/320x200" alt="ALT NAME">
<div class="caption">
<h3>Title</h3>
<p>Seller: Me</p>
<p>Email: </p>
<p>Cost: </p>
<p>Condition: </p>
<p align="center">
View More information
</p>
</div>
</div>
</li>
<li class="span4">
<div class="thumbnail">
<img src="http://placehold.it/320x200" alt="ALT NAME">
<div class="caption">
<h3>Title</h3>
<span class="label label-warning" style="margin-bottom: 10px;">Book has been sold!</span>
<p>Seller: Me</p>
<p>Email: </p>
<p>Cost: </p>
<p>Condition: </p>
<p align="center">
View More information
</p>
</div>
</div>
</li>
<li class="span4">
<div class="thumbnail">
<img src="http://placehold.it/320x200" alt="ALT NAME">
<div class="caption">
<h3>Title</h3>
<p>Seller: Me</p>
<p>Email: </p>
<p>Cost: </p>
<p>Condition: </p>
<p align="center">
View More information
</p>
</div>
</div>
</li>
<li class="span4">
<div class="thumbnail">
<img src="http://placehold.it/320x200" alt="ALT NAME">
<div class="caption">
<h3>Title</h3>
<p>Seller: Me</p>
<p>Email: </p>
<p>Cost: </p>
<p>Condition: </p>
<p align="center">
View More information
</p>
</div>
</div>
</li>
<li class="span4">
<div class="thumbnail">
<img src="http://placehold.it/320x200" alt="ALT NAME">
<div class="caption">
<h3>Title</h3>
<p>Seller: Me</p>
<p>Email: </p>
<p>Cost: </p>
<p>Condition: </p>
<p align="center">
View More information
</p>
</div>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
</body>
Fiddle: http://jsfiddle.net/Z3VwZ/
screens:
No, height of divs is not the issue. Issue is that you must put only three divs with .span4 class in one div with .row-fluid class. And if you want more divs with .span4 you must create new div with .row-fluid class and put those new .span4 divs inside. See Twitter bootstrap official documentation.
For example, this is valid Twitter Bootstrap markup
<div class="row-fluid">
<div class="span4"></div>
<div class="span4"></div>
<div class="span4"></div>
</div>
<div class="row-fluid">
<div class="span4"></div>
<div class="span4"></div>
<div class="span4"></div>
</div>
<div class="row-fluid">
<div class="span12"></div>
</div>
<div class="row-fluid">
<div class="span8"></div>
<div class="span1"></div>
<div class="span3"></div>
</div>
Here is working demo with your code >>> http://jsfiddle.net/Z3VwZ/1/