I am currently facing an issue with positioning elements in my HTML code. I have a File drop-down that I want to display on the left side, while the rest of the drop-downs should appear on the right side. It seems like my CSS files might be causing some interference with the layout as the display is not as expected. I have also included the bootstrap reference here, although it has not resolved the issue,
/* menu.css */
.dropdown {
display: inline-block;
position: relative;
}
.dropdown-item {
display: inline-block;
vertical-align: top;
margin-right: 10px;
}
.dropdown-item .dropbtn {
background-color: #3498db;
color: white;
padding: 10px;
font-size: 16px;
border: none;
border-radius: 5px;
cursor: pointer;
}
.dropdown-content {
display: none;
position: absolute;
top: calc(100% + 5px);
left: 0;
background-color: #fff;
min-width: 160px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
z-index: 1;
border-radius: 5px;
}
.dropdown-content a {
color: #333;
padding: 12px 16px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #f0f0f0;
}
/* Other CSS styles */
/* Bootstrap and dropdown code */