I've recently delved into the realm of web development, and I'm encountering some challenges with HTML alignment. Despite exploring various resources and attempting to utilize align="left"/right/center attributes, I'm still struggling to achieve the desired alignment. Any guidance on how to proceed would be greatly appreciated.
Here is my intended design: https://i.sstatic.net/oCy8h.png
This is what I have ended up with. Please provide me with some direction: https://i.sstatic.net/U2Z4b.png
Below is the code I've created. Apologies if there are any basic errors - mistakes are part of the learning process. I have included my CSS, although it doesn't seem to be updating in the snippet.
.boxUp {
background-color: #dedacf;
border-color: #dedacf #dedacf #dedacf #dedacf;
border-style: solid;
border-width: 1px 1px 1px 5px;
}
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="boxup">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="right" style="width: 25%">dropdown:</td>
<td align="left" style="width: 25%">
<select name="dropdown" class="pulldown1" id="dropdown">
<option value="Dubai">Dubai</option>
<option value="Domestic 2">Arabia</option>
<td align="right" style="width: 25%">textbox:</td>
<td style="width: 25%"><input name="textbox" type="text"
size="3" maxlength="3" class="tType1" value=""></td>
</tr>
</table>
</td>
</tr>