I am facing three challenges:
When I hover over my menu links, I want them to become 'bold', but it causes the items on the right to move slightly. How can I prevent this movement?
In regard to the dropdown menu on "Two", how can I ensure that the items appear directly aligned below "Two" with appropriate spacing and a background of equal width, even if the items have different lengths?
How can I make the menu bar fixed so that it remains visible at the top of the page when I scroll down? I attempted to add "position: fixed", but it resulted in everything being messed up..
Any assistance is highly appreciated. Thank you!
<head>
<title>Untitled</title>
</head>
<body>
<div id="wrap">
<div id="menu">
<ul>
<li><a href="#">One</a></li>
<li><a href="#">Two</a>
<ul>
<li><a href="#">Six</a></li>
<li><a href="#">Seven</a></li>
</ul></li>
<li><a href="#">Three</a></li>
<li><a href="#">Four</a></li>
<li><a href="#">Five</a></li>
</ul>
</div>
<div id="middle"></div>
<div id="footer"></div>
</div>
</body>
I encountered difficulties trying to include CSS here without it appearing garbled, so here's a link to the stylesheet: