I'm currently trying to line up two divs alongside each other within a box. Using angularJS, I am dynamically generating input boxes and looking to include an image for the delete option next to each input box. Despite using "display: inline-block", I'm running into alignment issues.
Below is the code I have so far:
<div class="contentBox box effectmission" ng-repeat="mission in missions">
<div class="boxheader">
<span style="font-size: large; font-family: monospace; font-weight: bold;">EDIT MISSION NAME</span><input id="{{mission.id}}" type="text" ng-model="mission.missionInfo" class="form-control" style="background-color: #e8e8e8">
</div>
<div style="padding-top: 10px;">
<span style="font-size: large; font-family: monospace; font-weight: bold; margin-left:5%;">EDIT MISSION POINTS</span><br />
</div>
<div style="padding-top: 10px;">
<ol style="float: left; width: 100%;">
<li id="missioncontent.id" ng-repeat="missioncontent in mission.missionContent" style="padding: 2px; width: 100%;">
<div>
<input id="{{missioncontent.id}}" type="text" ng-model="missioncontent.info" class="form-control" style="background-color: #e8e8e8; width: 80%;">
</div>
<div style="float: right; width: 20%; display: inline-block;">
<span>v</span>
</div>
</li>
</ol>
</div>
</div>
What I have achieved thus far looks like this:
I aim to properly align the input boxes and images next to each other (where 'v' will be substituted with an image).