Recently, I implemented a dropdown menu following the tutorial at
https://www.w3schools.com/howto/howto_css_dropdown_navbar.asp
However, upon integrating it into my code, I noticed that the menu consistently appears on the left side of the screen instead of within the designated page section.
In an attempt to rectify this issue, I utilized a div with the following CSS properties :-
.page {
max-width: 1000px;
margin: 0 auto;
}
Despite defining these styles, the menu refuses to align within the 1000px width and stubbornly remains anchored to the left side of the screen.