How to set panel width = to menu bar hover background width
-
I am trying to make my dropdown panel width equal to the width of my main menu bar. When I hover over the leftmost menu item, I want the menu item background to align with the left edge of the panel background (which both appear only on hover). Likewise, when I hover over the rightmost menu item, I want that item’s background to align with the right edge of the panel background.
Currently, I’m only able to get the left backgrounds to align. (My menu bar items are left-aligned.) When I try center-aligning the menu bar items, neither background edge aligns with the panel.
I’ve also tried tweaking the panel width % value, but it doesn’t give me the clean alignment on the right that I’m looking for.
Can you all help with this?
- The topic ‘How to set panel width = to menu bar hover background width’ is closed to new replies.