Using Foundation, I'm trying to adjust the top-bar menu in order to have menu items looks something like that:
+-Parent container------------------------------------------------------------------+
| |
+-.top-bar--------------------------------------------------------------------------+
| +-top-bar-section-+--------+--------+--------+--------+ |
| | Item | Item | Item | Item | Item | Item | |
| | menu | menu | menu | menu | menu | menu | |
| | 01 | 02 | 03 | 04 | 05 | 06 | |
| +-top-bar-section-+--------+--------+--------+--------+ |
+-.top-bar--------------------------------------------------------------------------+
| |
| |
˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜˜
This means that:
- Items have a fixed width
- Items may have one or more lines (usually no more than 3 lines), but they must be alway vertically centered.
- All items height must be the same as the highest item
- Submenus (dropdown) must open below the hovered item
I've tried several option (display set to table-cell or inline-block with vertical align set to middle) and looked around the web, but I can't find a solution that meet all the requirements above.
Anyone ever tried to do that?