Currently, I am creating a music streaming service similar to Deezer. However, I am encountering an issue with my dropdown menu placement. Despite attempting various adjustments such as changing the margins and using absolute positioning with specific coordinates, the dropdown menu remains fixed at the top left corner of the page. Any assistance would be greatly appreciated!
Here is the HTML code for the dropdown menu:
<!DOCTYPE html>
<html>
<head>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="69190619190c1b47031a295847585d475e">[email protected]</a>/dist/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="4e2c21213a3d3a3c2f3e0e7a607d607f">[email protected]</a>/dist/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"&...
The CSS styling for the project includes the following rules:
/* frame2 */
.search{
position: absolute;
width: 1105px;
height: 58px;
left: 40px;
top: 5px;
border-style: none;
font-family: "Gill Sans", sans-serif;
font-style: normal;
font-weight: 700;
font-size: 30px;
}
::placeholder {
color: #BEBEBE;
}
.search_icon{
position: absolute;
width: 28px;
height: 28px;
margin-top: 10px;
}
.plus{
position: absolute;
width: 30px;
height: 30px;
margin-top: 0px;
margin-left: 1160px;
font-size: 200 px;
}
.admin{
position: absolute;
width: 55px;
height: 55px;
margin-top: 0px;
margin-left: 1200px;
}
.dropdown-menu{
position:absolute;
left: 800;
}
View the current output here.