I'm trying to put the text on the left side and a button on the right side and have both elements be inside a box.
- How do I move the button over to the right more and control the positioning.
Here's my jsfiddle: http://jsfiddle.net/3PTtv/46/
<div id="wrapper-landing">
<div class="box-row">
<div class="box-form-body">
<h4>
See What You're Missing<br>
Fill out our Form</h4>
</div>
<div class="box-form-button">
<img src="http://www.ei.edu/wp-content/uploads/2013/03/button_submit.jpg" /></div>
</div>
</div>
Here is my CSS:
#wrapper-landing {
width: 916px;
margin: 0 auto 50px auto;
padding: 0;
}
.box-form-body {
float: left;
display: block;
width: 65%;
padding: 0 0 0 2em;
}
h4 {
font-size: 1.05em;
margin: 0 0 2px 0;
font-family: "HelveticaNeueW01-75Bold",Helvetica,"Helvetica Neue",Arial,sans-serif;
font-weight: normal;
}
.box-form-button {
float: left;
display: block;
margin-top: 5px;
width: 25%;
min-width: 215px;
}
.box-row {
width:100%;
padding:10px;
border:1px solid #e2e3e4;
margin:0px;
overflow: hidden;
background-color:#f66511;
}