I have searched through various discussions but haven't found a solution that addresses my specific issue, especially at a beginner level. I would really appreciate some guidance.
The problem I'm facing involves my drop-down menu displaying gaps between the drop-down items and their sub-elements.
This issue specifically pertains to the "Restaurants" menu item. One of the submenu items immediately appears upon hovering over the main restaurant tab, but there is a significant gap between this submenu and its contents.
Below are snippets of my CSS and HTML code:
body {
font-family: verdana, sans-serif;
font-size: 100%;
}
#siteWrapper {
background-color: yellow;
width: 65%;
margin: 0 auto;
}
// Other CSS properties omitted for brevity
<!DOCTYPE html>
<!-- HTML code snippet omitted for conciseness -->