Currently, I am working on a design layout that includes a fixed header
, a main nav
, and an additional navigation bar called #sub_nav
. The problem arises when the #sub_nav contains numerous items to choose from - as I decrease the width of the browser window, the last item ends up breaking onto the next line, hiding behind the flexible header.
To give you a better visual representation, please refer to this illustration:
Explore this jsfiddle
I am seeking a CSS / JS solution to address this issue. Additionally, I am open to jquery solutions as well.
I apologize if the image is bothersome, but I trust it helps convey the problem I am trying to solve.