How do I float div to the next one - html

I am trying to put a div next to each other. I have tried to use float: left etc, also I am using bootstrap however I have tried the column setting but it does not work,
HTML:
<div class="container">
<div class="Mainbody2">
<div class="ref1">
<h2>About</h2>
<p>Text GOES HERE</p>
<h2>Statement!</h2>
<p>STATMENT GOES HERE</p><br />
<br />
<br />
<h2>Number1</h2>
<ul>
<li>link1</li>
<li>link1</li>
<li>link1</li>
<li style="list-style: none"><br /></li>
<li>link1</li>
<li>link1</li>
<li>link1</li>
<li style="list-style: none"><br /></li>
</ul>
</div>
<div class="ref2">
<h2>Description</h2>
<ul>
<li>link2</li>
<li>link2</li>
<li>link2</li>
<li style="list-style: none">
<br />
<h2>Libraries</h2>
</li>
<li>link2</li>
<li>link2</li>
<li>link2</li>
</ul>
</div>
</div>
</div>
Link to Fiddle
Just to make it clear i am trying to get Description next to Number 1 and then Libraries next to description
Thanks again for the help

See this fiddle
I've changed your HTML a bit as below
<div class="container">
<div class="Mainbody2">
<div class="ref1">
<div class="left">
<h2>About</h2>
<p>Text GOES HERE </p>
<h2>Statement!</h2>
<p>
STATMENT GOES HERE
</p>
</div>
<div class="right">
<h2>Description</h2>
<li> link2</li>
<li> link2</li>
<li> link2</li>
</div>
</div>
<div class="ref2">
<div class="left">
<h2>Number1</h2>
<li> link1</li>
<li> link1</li>
<li> link1</li>
<br>
<li> link1</li>
<li> link1</li>
<li> link1</li>
</div>
<div class="right">
<h2>Libraries</h2>
<li> link2</li>
<li> link2</li>
<li> link2</li>
</div>
</div>
</div>
</div>
also, added the below CSS
.left,
.right,.ref1,.ref2 {
float: left;
}
.ref1,.ref2{
padding:10px;
width:100%;
}
.left,.right{
width:50%;
}

add md and sm to you div <div class="col-lg-2 col-md-2 col-sm-2">
<div class="container">
<div class="Mainbody2">
<div class="col-md-2 col-sm-2 col-xs2">
<h2>About</h2>
<p>Text GOES HERE </p>
<h2>Statement!</h2>
<p>
STATMENT GOES HERE
</p>
<br /> <br /> <br />
<h2>Number1</h2>
<li> link1</li>
<li> link1</li>
<li> link1</li>
<br />
<li> link1</li>
<li> link1</li>
<li> link1</li>
<br />
</div>
<div class="col-md-2 col-sm-2 col-xs2">
<h2>Description</h2>
<li> link2</li>
<li> link2</li>
<li> link2</li>
<br />
<h2>Libraries</h2>
<li> link2</li>
<li> link2</li>
<li> link2</li>
</div>
</div>
</div>
see js fiddle http://jsfiddle.net/vrupp3wr/
set the proper col lenght for your need

Have you tried something like this?
<div class="row">
<div class="col-md-4">column 1</div>
<div class="col-md-4">column 2</div>
<div class="col-md-4">column 3</div>
</div>
With Bootstrap you have to designate one div as a row and the nested divs can be columns.

this works for me
<div class="row">
<div class="col-xs-6">
<div class="panel">
<fieldset>
<legend>Legend</legend>
<div class="radio">
<label>
<input type="radio" name="optionsRadios" id="optionsRadios1" value="option1" checked>
Option one
</label>
</div>
</fieldset>
</div>
</div>
<div class="col-xs-6">
<div class="panel">
<fieldset>
<legend>Legend</legend>
<div class="form-group">
<label for="exampleInputEmail">
Email address</label>
<input type="text" class="form-control" id="exampleInputEmail" placeholder="Enter email">
</div>
</fieldset>
</div>
</div>
</div>

Related

How to put ul side by side? [duplicate]

This question already has answers here:
How to place div side by side
(7 answers)
Closed 1 year ago.
<div class="container-fluid gradient">
<div class="row">
<div class="col-12 justify-content-start text-white">
<div class="footer mt-5">
<img
src="images/Vector Smart Object (Double Click to Edit).png"
class="img-fluid footer-logo"
alt=""
/>
<div class="left">
<ul class="mt-5">
<li>TEAM</li>
<li>COMPETITION</li>
<li>ABOUT US</li>
<li>CONTACT</li>
</ul>
</div>
<div class="right">
<ul>
<li>FAQ</li>
<li>POLICY PRIVACY</li>
<li>COOKIES</li>
</ul>
</div>
</div>
<div class="border-pink"></div>
<h4 class="mt-4 copy">COPYRIGHT</h4>
</div>
</div>
</div>
I want to put the ul next to each other so that they are side by side. I tried using inline-block and float left, but it looks messy.
.left{
position:absolute;
padding-left:200px;
}
<div class="container-fluid gradient">
<div class="row">
<div class="col-12 justify-content-start text-white">
<div class="footer mt-5">
<img
src="images/Vector Smart Object (Double Click to Edit).png"
class="img-fluid footer-logo"
alt=""
/>
<div class="left">
<ul class="mt-5">
<li>TEAM</li>
<li>COMPETITION</li>
<li>ABOUT US</li>
<li>CONTACT</li>
</ul>
</div>
<div class="right">
<ul>
<li>FAQ</li>
<li>POLICY PRIVACY</li>
<li>COOKIES</li>
</ul>
</div>
</div>
<div class="border-pink"></div>
<h4 class="mt-4 copy">COPYRIGHT</h4>
</div>
</div>
</div>
You can do it like this. This is one way.

Fixed Column with Bulma

i pretend to make this first column fixed, but when i add position:fixed, the columns overlap each other, how to fix this?
If its not possible, i want to know a sample that gives me a
side navbar fixed and responsive with bulma
<section class="main-content columns is-fullheight">
<aside class="column is-2 is-narrow-mobile is-fullheight section is-hidden-mobile">
<p class="menu-label is-hidden-touch">Header</p>
<ul class="menu-list">
<li>
CIT
<ul><li>Items</li><li>Items</li>
</ul>
</li>
<li>
Other
<ul>
<li>other</li>
</ul>
</li>
</ul>
</aside>
<div class="container column is-10">
<div class="section">
<div class="card">
<div class="card-header" id="go-first">
<p class="card-header-title">CIT</p>
</div>
<div class="card-content">
<div class="content">
header
</div>
<div class="columns">
<div class="column">
...
</div>
</div>
</div>
</div>
</div>
</div>
</section>
```
As I understood, your sidebar disappears on mobile, right?
Have you tried removing is-hidden-mobile class from aside element?
<section class="main-content columns is-fullheight">
<aside class="column is-2 is-narrow-mobile is-fullheight section">
<p class="menu-label is-hidden-touch">Header</p>
<ul class="menu-list">
<li>
CIT
<ul><li>Items</li><li>Items</li>
</ul>
</li>
<li>
Other
<ul>
<li>other</li>
</ul>
</li>
</ul>
</aside>
<div class="container column is-10">
<div class="section">
<div class="card">
<div class="card-header" id="go-first">
<p class="card-header-title">CIT</p>
</div>
<div class="card-content">
<div class="content">
header
</div>
<div class="columns">
<div class="column">
...
</div>
</div>
</div>
</div>
</div>
</div>
</section>

How to align text with ul & li

I have 4 Div with class col-md-3 in one row
but the text does appear really ugly. i have made an little overview here:
Prod. Comp. (middle) lang. div4
text texttext text text
textta text txt txt
this means, the text is not under the /Product, company, languange, and the 4th Division
i want to have it look like this
div1 div2 (middle) div3 div4
text texttext text text
textta text txt txt
here is my code
HTML:
<div class="container">
<div class="row" id="footerRow">
<div class="col-xs-12 col-md-3">
<h2>Product</h2>
<ul>
<li> Templates</li>
<li> Pricing</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2>Company</h2>
<ul>
<li>About Us</li>
<li>Contact us</li>
<li>Terms of Servise</li>
<li>Privacy policy</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2>Language</h2>
<ul>
<li>Englisch</li>
<li>German</li>
<li>Srpski</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2> </h2>
<ul>
<li>facebook</li>
<li>kaaa</li>
<li>kaaa</li>
</ul>
</div>
</div>
</div>
here is my css code:
#footerRow{
text-align: center;
}
the solution should be responsive bootstrap if possible!
Remove padding and margin for zero. Remove text-align:center for #footerRow
#footerRow ul {margin:0px;padding:0px}
#footerRow ul li{
text-align: left;
list-style:none
}
#footerRow h2{min-height:30px}
<link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row" id="footerRow">
<div class="col-xs-12 col-md-3">
<h2>Product</h2>
<ul>
<li> Templates</li>
<li> Pricing</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2>Company</h2>
<ul>
<li>About Us</li>
<li>Contact us</li>
<li>Terms of Servise</li>
<li>Privacy policy</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2>Language</h2>
<ul>
<li>Englisch</li>
<li>German</li>
<li>Srpski</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2> </h2>
<ul>
<li>facebook</li>
<li>kaaa</li>
<li>kaaa</li>
</ul>
</div>
</div>
</div>
Just change center to left
text-align: left
Here are a few examples.
see if this is what you'r looking for https://jsfiddle.net/DTcHh/26745/
just remove
#footerRow{
text-align: center;
}
try to this...
ol, ul {list-style: none;}
#footerRow ul {margin:0px;padding:0px}
<!DOCTYPE html>
<html>
<head>
<title>Stack Overflow</title>
<link href="http://getbootstrap.com/dist/css/bootstrap.min.css" rel="stylesheet"/>
</head>
<body>
<div class="container">
<div class="row" id="footerRow">
<div class="col-xs-12 col-md-3">
<h2>Product</h2>
<ul>
<li> Templates</li>
<li> Pricing</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2>Company</h2>
<ul>
<li>About Us</li>
<li>Contact us</li>
<li>Terms of Servise</li>
<li>Privacy policy</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2>Language</h2>
<ul>
<li>Englisch</li>
<li>German</li>
<li>Srpski</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2> Div4</h2>
<ul>
<li>facebook</li>
<li>kaaa</li>
<li>kaaa</li>
</ul>
</div>
</div>
</div>
</body>
</html>
Here JSFiddle Here enter link description here
ul{
list-style-type: none;
padding: 0px;
}
#footerRow{
display: inline-flex;
}
<link href="https://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet"/>
<div class="container">
<div class="row" id="footerRow">
<div class="col-xs-12 col-md-3">
<h2>Product</h2>
<ul>
<li> Templates</li>
<li> Pricing</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2>Company</h2>
<ul>
<li>About Us</li>
<li>Contact us</li>
<li>Terms of Servise</li>
<li>Privacy policy</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2>Language</h2>
<ul>
<li>Englisch</li>
<li>German</li>
<li>Srpski</li>
</ul>
</div>
<div class="col-xs-12 col-md-3">
<h2>Social </h2>
<ul>
<li>facebook</li>
<li>kaaa</li>
<li>kaaa</li>
</ul>
</div>
</div>
</div>

Displaying 5 Columns in one row on footer - Bootstrap

Hi I am trying to display 5 responsive rows in one line in footer but it seems like its not working exactly the way I want it.
Here is my code
<footer>
<div class="container">
<div class="row">
<div class="col-sm-8">
<div class="col-md-2 customer">
<h3>Customer Service</h3>
<p>Unit 36/65 Marigold St,Revesby
NSW 2212 <br>
P | (02) 9773 8773
<br>
F | (02) 977 8125
<br>
E | info#trevell.com.au</p>
</div>
<div class="col-md-2 col-md-offset-1 company">
<h3>The Company</h3>
<ul>
<li>Our Profile</li>
<li>Home Designs</li>
<li>Showcase</li>
<li>Commercial</li>
<li>Career</li>
<li>Blog</li>
<li>Terms & Conditions</li>
</ul>
</div>
<div class="col-md-2 dc">
<h3>Our Display Center</h3>
<ul>
<li>Freemans Ridge Estate</li>
<li>Homeworld Camden South</li>
<li>Brooks Beach Estate Horsley</li>
</ul>
</div>
<div class="col-md-2 lp">
<h3>House & Land Packages</h3>
<ul>
<li>House & Land Packages</li>
<li>Display Home for Sale</li>
</ul>
</div>
<div class="col-md-2 nl">
<h3>Newsletter</h3>
<p>Be the first to know about Trevelle Special offers</p>
<i class="fa fa-envelope fa-2x"></i>
</div>
</div>
</div>
</div>
</footer>
I even tried to replace col-md-2 with col-md-3 but the last columns moves to next line. Here is attached image I am trying to make exact like this Image
Follow this example
CSS:
#media(min-width:768px){
div.col-sm-7.seven-three{width:60%!important;}
div.col-sm-5.five-two{width:40%!important;}
}
HTML:
<div class="col-sm-12">
<div class="row">
<div class="col-sm-7 seven-three">
<div class="row">
<div class="col-sm-4" style="background-color:#000;">Column 1</div>
<div class="col-sm-4" style="background-color:#333;">Column 2</div>
<div class="col-sm-4" style="background-color:#444;">Column 3</div>
</div>
</div>
<div class="col-sm-5 five-two">
<div class="row">
<div class="col-sm-6" style="background-color:#555;">Column 4</div>
<div class="col-sm-6" style="background-color:#666;">Column 5</div>
</div>
</div>
</div>
</div>
Here's JSFiddle
Try this
<footer>
<div class="container">
<div class="row">
<div class="col-md-2 customer">
<h3>Customer Service</h3>
<p>Unit 36/65 Marigold St,Revesby
NSW 2212 <br>
P | (02) 9773 8773
<br>
F | (02) 977 8125
<br>
E | info#trevell.com.au</p>
</div>
<div class="col-md-2 company">
<h3>The Company</h3>
<ul>
<li>Our Profile</li>
<li>Home Designs</li>
<li>Showcase</li>
<li>Commercial</li>
<li>Career</li>
<li>Blog</li>
<li>Terms & Conditions</li>
</ul>
</div>
<div class="col-md-3 dc">
<h3>Our Display Center</h3>
<ul>
<li>Freemans Ridge Estate</li>
<li>Homeworld Camden South</li>
<li>Brooks Beach Estate Horsley</li>
</ul>
</div>
<div class="col-md-3 lp">
<h3>House & Land Packages</h3>
<ul>
<li>House & Land Packages</li>
<li>Display Home for Sale</li>
</ul>
</div>
<div class="col-md-2 nl">
<h3>Newsletter</h3>
<p>Be the first to know about Trevelle Special offers</p>
<i class="fa fa-envelope fa-2x"></i>
</div>
</div>
</div>
</footer>
you shouldn't use nesting col under a row, and keep all children of row plus to 12
<footer class="container">
<div class="col-md-12 row">
<div class="col-md-3">
<div class="comp-name">
<h2>Company Name</h2><br>
<p>Halimun Street 25
Jakarta, Indonesia
12850</p><br>
YourDomin.com
</div>
</div>
<div class="col-md-6">
<div class="container">
<div class="row">
<div class="col-md-4 menu-list">
<ul>
<li>Sitemap</li>
<li>Home</li>
<li>About</li>
<li>Blog</li>
<li>Menu</li>
<li>Store</li>
<li>Contact</li>
</ul>
</div>
<div class="col-md-4 lorem">
<ul>
<li>Lorem Ipsum</li>
<li>Neque</li>
<li>Suspendisse</li>
<li>Dictum</li>
<li>Porttitor</li>
<li>Tincidunt</li>
<li>Enim lobortis</li>
</ul>
</div>
<div class="col-sm-3">
<ul>
<li>Lorem Ipsum</li>
<li>Neque</li>
<li>Suspendisse</li>
<li>Dictum</li>
<li>Porttitor</li>
<li>Tincidunt</li>
<li>Enim lobortis</li>
</ul>
</div>
</div>
</div>
</div>
<div class="col-md-3">
<img src="assets/images/footer_logo.png" alt=""><br>
<p class="text-muted">Copyright © <?php print date("Y"); ?> Freepik
Company S.L. All rights reserved.</p><br>
<p>
<i class="fa-brands fa-facebook-square"></i>
<i class="fa-brands fa-instagram-square"></i>
<i class="fa-brands fa-twitter-square"></i>
</p>
</div>
</div>
</footer>

Bootstrap - Adjusting the height of Carousel

I have a carousel in container-fluid. I am trying to decrease the height of the carousel but I am not able to do so. I tried style it dont work as well. Currently, the carousel takes up the width and height of the whole web page.
How can I go about doing it?
Below is my code:
CSS
header {
background: #f16251;
color:#000000;
}
header h1,header h2,header h3 a,header a,header a:hover {
color:#101010;
font-weight:800;
text-decoration:none;
}
header h3 {
font-family: 'Kreon', serif;
background: #ffcc33;
padding:10px;
border-radius:3px;
font-size:34px;
padding:12px 10px 6px 10px;
}
header .dropdown-menu {
top:74px;
background: #ffcc33;
border-width:0;
}
HTML
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/custom.css" rel="stylesheet">
</head>
<body>
<!-- Wrap all page content here -->
<div id="wrap">
<header class="masterhead">
<!-- <div class="container">-->
<div class="container-fluid">
<div class="row">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner">
<!-- item 1 -->
<div class="item active">
<img src="img/Nielsen.png" alt="">
<div class="carousel-caption">
<h4>Testing </h4>
<p>Testing Testing</p>
</br>
</div>
</div>
<!-- item 2 -->
<div class="item">
<img src="img/UIParade.png" alt="">
<div class="carousel-caption">
<h4>Testing Image 2</h4>
<p>Testing Testing</p>
</br>
<a class="btn btn-primary" target="_blank" href="http://www.uiparade.com/">Learn
more</a>
</div>
</div>
</div>
</div>
</div>
<!--<div class="col-sm-6">
<h1>Evon Chong
<p class="lead">{A Bootstrap Template}</p></h1>
</div>-->
<!--<div class="col-sm-6">
<div class="pull-right hidden-xs">
<h3><i class="glyphicon glyphicon-cog"></i></h3>
<ul class="dropdown-menu">
<li><i class="glyphicon glyphicon-chevron-right"></i> Link
</li>
<li><i class="glyphicon glyphicon-user"></i> Link
</li>
<li><i class="glyphicon glyphicon-lock"></i> Link
</li>
<li><i class="glyphicon glyphicon-cog"></i> Link
</li>
</ul>
</div>
</div>-->
</div>
</div>
<!--</header>-->
<!-- Fixed navbar -->
<div class="navbar navbar-custom navbar-inverse navbar-static-top" id="nav">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav nav-justified">
<li>Home
</li>
<li>About
</li>
<li>My Skills
</li>
<li class="active"><strong>Education</strong>
</li>
<li>Portfolio
</li>
<li>Contact
</li>
<!--<li class="dropdown">
More <b class="caret"></b>
<ul class="dropdown-menu">
<li>Action
</li>
<li>Another action
</li>
<li>Something else here
</li>
<li>Separated link
</li>
<li>One more separated link
</li>
</ul>
</li>-->
</ul>
</div>
<!--/.nav-collapse -->
</div>
<!--/.container -->
</div>
<!--/.navbar -->
<!-- Begin page content -->
<div class="divider" id="section1"></div>
<div class="container">
<div class="col-sm-10 col-sm-offset-1">
<div class="page-header text-center">
<h1>Sticky Footer with Fly-in Navbar</h1>
</div>
<p class="lead text-center">
Twitter Bootstrap is a front-end toolkit to rapidly build web applications.
</p>
<p class="text-center">
Bootstrap is a framework that uses some of the latest browser techniques to provide you with stylish typography, navigation, buttons, tables, etc. One of the primary changes in Bootstrap 3 is an emphasis on Mobile-First responsive design. The goal is to elevate the mobile experience to a first-class citizen of the design process, because several billion mobile users is quite a large market to tap into. So, sites built with the current Bootstrap version target mobile devices and scale for larger screens depending on screen size.
</p>
</div>
</div>
<div class="divider" id="section2"></div>
<section class="bg-1">
<div class="col-sm-6 col-sm-offset-3 text-center">
<h2 style="padding:20px;background-color:rgba(5,5,5,.8)">Try and Tweak Different Layouts</h2>
</div>
</section>
<div class="divider"></div>
<div class="container" id="section3">
<div class="col-sm-8 col-sm-offset-2 text-center">
<h1>Mobile-first + Responsive</h1>
<p>
Instead of creating a unique version of the webpage for each desktop, mobile & tablet, you can now create one design that works on all devices, browsers & resolutions. Your designs will be future ready when a new table or phone size comes in the market, your designs will adapt itself and fit to the new screen size.
</p>
<hr>
<img src="/assets/example/bg_smartphones.jpg" class="img-responsive">
<hr>
</div>
<!--/col-->
</div>
<!--/container-->
<div class="divider"></div>
<section class="bg-3" id="section4">
<div class="col-sm-6 col-sm-offset-3 text-center">
<h2 style="padding:20px;background-color:rgba(5,5,5,.8)">Leverage Snippets & Examples</h2>
</div>
</section>
<div class="continer bg-4">
<div class="row">
<div class="col-sm-4 col-xs-6">
<div class="panel panel-default">
<div>
<img src="//placehold.it/450X250/565656/eee" class="img-responsive">
</div>
<div class="panel-body">
<p class="lead">Hacker News</p>
<p>120k Followers, 900 Posts</p>
<p>
<img src="https://lh4.googleusercontent.com/-9Yw2jNffJlE/AAAAAAAAAAI/AAAAAAAAAAA/u3WcFXvK-g8/s28-c-k-no/photo.jpg" width="28px" height="28px">
</p>
</div>
</div>
<!--/panel-->
</div>
<!--/col-->
<div class="col-sm-4 col-xs-6">
<div class="panel panel-default">
<div class="panel-thumbnail">
<img src="//placehold.it/450X250/ffcc33/444" class="img-responsive">
</div>
<div class="panel-body">
<p class="lead">Bootstrap Templates</p>
<p>902 Followers, 88 Posts</p>
<p>
<img src="https://lh5.googleusercontent.com/-AQznZjgfM3E/AAAAAAAAAAI/AAAAAAAAABA/WEPOnkQS_20/s28-c-k-no/photo.jpg" width="28px" height="28px">
</p>
</div>
</div>
<!--/panel-->
</div>
<!--/col-->
<div class="col-sm-4 col-xs-6">
<div class="panel panel-default">
<div class="panel-thumbnail">
<img src="//placehold.it/450X250/f16251/444" class="img-responsive">
</div>
<div class="panel-body">
<p class="lead">Social Media</p>
<p>19k Followers, 789 Posts</p>
<p>
<img src="https://lh4.googleusercontent.com/-eSs1F2O7N1A/AAAAAAAAAAI/AAAAAAAAAAA/caHwQFv2RqI/s28-c-k-no/photo.jpg" width="28px" height="28px">
<img src="https://lh4.googleusercontent.com/-9Yw2jNffJlE/AAAAAAAAAAI/AAAAAAAAAAA/u3WcFXvK-g8/s28-c-k-no/photo.jpg" width="28px" height="28px">
</p>
</div>
</div>
<!--/panel-->
</div>
<!--/col-->
</div>
<!--/row-->
</div>
<!--/container-->
<div class="divider" id="section5"></div>
<div class="row">
<h1 class="text-center">Where In The World?</h1>
<div id="map-canvas"></div>
<hr>
<div class="col-sm-8">
<div class="row form-group">
<div class="col-xs-3">
<input type="text" class="form-control" id="firstName" name="firstName" placeholder="First Name" required="">
</div>
<div class="col-xs-3">
<input type="text" class="form-control" id="middleName" name="firstName" placeholder="Middle Name" required="">
</div>
<div class="col-xs-4">
<input type="text" class="form-control" id="lastName" name="lastName" placeholder="Last Name" required="">
</div>
</div>
<div class="row form-group">
<div class="col-xs-5">
<input type="email" class="form-control" name="email" placeholder="Email" required="">
</div>
<div class="col-xs-5">
<input type="email" class="form-control" name="phone" placeholder="Phone" required="">
</div>
</div>
<div class="row form-group">
<div class="col-xs-10">
<input type="homepage" class="form-control" placeholder="Website URL" required="">
</div>
</div>
<div class="row form-group">
<div class="col-xs-10">
<button class="btn btn-default pull-right">Contact Us</button>
</div>
</div>
</div>
<div class="col-sm-3 pull-right">
<address>
<strong>Iatek, LLC.</strong><br>
795 Folsom Ave, Suite 600<br>
Newport, RI 94107<br>
P: (123) 456-7890
</address>
<address>
<strong>Email Us</strong><br>
first.last#example.com
</address>
</div>
</div>
<!--/row-->
<div class="container">
<div class="col-sm-8 col-sm-offset-2 text-center">
<h2>Beautiful Bootstrap Templates</h2>
<hr>
<h4>
We love templates. We love Bootstrap.
</h4>
<p>Get more free templates like this at the Bootstrap Playground, Bootply.</p>
<hr>
<ul class="list-inline center-block">
<li>
<a href="http://facebook.com/bootply">
<img src="/assets/example/soc_fb.png">
</a>
</li>
<li>
<a href="http://twitter.com/bootply">
<img src="/assets/example/soc_tw.png">
</a>
</li>
<li>
<a href="http://google.com/+bootply">
<img src="/assets/example/soc_gplus.png">
</a>
</li>
<li>
<a href="http://pinterest.com/in1">
<img src="/assets/example/soc_pin.png">
</a>
</li>
</ul>
</div>
<!--/col-->
</div>
<!--/container-->
</div>
<!--/wrap-->
<div id="footer">
<div class="container">
<p class="text-muted">This Bootstrap Example courtesy Bootply.com
</p>
</div>
</div>
<ul class="nav pull-right scroll-top">
<li><i class="glyphicon glyphicon-chevron-up"></i>
</li>
</ul>
<!-- JavaScript placed at the end of the document so the pages load faster -->
<script src="js/jquery-1.11.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/bootstrap.js"></script>
</body>
</html>
Try this:
style="height:500px" in the carousel tag
HTML:
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel" style="height:500px">