Having trouble aligning my dropdown list vertically with my textarea on the left. It seems like they are clashing together for some reason.
UPDATE: Thank you for the assistance, I was able to make the necessary adjustments.
JSP:
.ExeDropdown{
float:left;
margin-left:50px;
}
div.txt1{
float: left;
margin-left:50px;
}
div.txt2{
float:right;
margin-right: 120px;
}
.txt3{
float:right;
margin-right: 120px;
}
#subBtn{
position: absolute;
bottom: 20%;
left:47%;
}
<div class="ExeDropdown">
Select an exercise:
<select name="ProgExe">
<option value="exe1">Exercise 1</option>
<option value="exe2">Exercise 2</option>
</select>
</div>
<div class="txt1" >
<p>Write your source code here:</p>
<textarea id="myTextArea" rows="5" cols="40" name="txtInput" >
</textarea>
</div>