- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
I have trouble in making a fixed menu bar.
When I resize the browser, the menu bar stays fixed. but while i scroll horizontally the menu bar doesn’t move. So i am unable to see some of the menu items which gets hidden due to the resize.
the code is here:
Thanks and regards!
You have a min-width of 1000px….could that be it?
even removing the min-width from the class (nav_box) doesn’t help. The menu elements get stacked up. That solution is acceptable. But I want that the fixed menu should be scrolled horizontally.
Obviously because it’s set to position:fixed
, it will always stay at the same position in your browser window no matter how you scroll (horizontally or vertically).
Okay. I have seen various websites with fixed menu bar and also horizontally scrollable. Are those done using jquery?
Probably by wrapping it in another div or something like that.
Personally, I think horizontal scrolling is not cool and should be avoided anyway…