I have a working carousel that contains a form and 3 images, I would like the carousel to be larger than it is (I thought if i didnt define the height and width it would be the size of the images but this hasnt worked), I want the form to appear in the center of the carousel, at the minute it is on the left, even though i have float:center i also experimented with padding but nothing seems to work. I have attached my code below, can anyone give me advice on 1) how to position the form to where i want within the carousel 2) how to make the carousel be the size of the images or larger than it is at the minute. Any help would be much appreciated...
<style>
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
margin: auto;
}
</style>
</head>
<body>
<br>
<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>
<li data-target="#myCarousel" data-slide-to="3"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<div class="span8" style="float:center; margin:0px, 0px, 0px, 20px;">
<form role="form" name="login" action="login.php" method="POST" style="align-center" >
Username<br><input type="text" name="Username" /></br>
Password<br><input type="password" name="Password" /></br>
<br><input type="submit" value="Login" name="login" />
<br>
<br>
<br>
</form>
</div>
</div>
<div class="item">
<img src="UUJ.jpg" alt="UUJ">
</div>
<div class="item">
<img src="UU2.jpg" alt="UU2">
</div>
<div class="item">
<img src="UU3.jpg" alt="UU3">
</div>
</div>
<!-- Left and right controls -->
<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>