I have this select element on my HTML which looks like this
Now I want to position my select element on the top left of the division border and It won't seem to move. Am I doing it wrong? Do I have to add something my codes?
Here's the css:
<style>
body {
background-image: url("img/wood.jpg");
}
.MySelectCPU{
margin-top:20px;
margin-left:200px;
}
</style>
Here's the html code:
<div style="font-family: Questrial; font-size:40px;">Administrative Control Panel Page</div><br>
<div style="width:500px; font-family: Questrial; font-size:20px; border:1px solid #000; padding:100px;" align="center">
<select id="MySelectCPU" onchange="location = this.value;">
<option disabled selected hidden>Deployed Equipments</option>
<option value="viewcpu.php">Deployed CPUs</option>
<option value="viewmouse.php">Deployed Mouse</option>
<option value="viewkeyboard.php">Deployed Keyboards</option>
<option value="viewmonitor.php">Deployed Monitors</option>
<option value="viewlaptop.php">Deployed Laptops</option>
</select>
</div><br clear="all">
<span style="padding-right: 10px; font-family: Questrial;" ><a href="logout.php" class="btn btn-primary">Logout</font></a></span>
<span style="font-family: Questrial;"><a href="home.php" class="btn btn-primary">Profile</font></a></span>
