I am trying to build a menu using CSS.This is what i have done so far
The problem i am facing is when the width of browser decreases the menu items start to overlap as
What could be the possible solution that the items don’t overlap rather are displayed in the next line
What I would do is this: instead of a separate class for the selected item in the menu I’d use a
menuItem selectedinstead, and have the menuItem float to leftcheck out this jsfiddle