Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS CSS fixed menu, on resize doesn't scroll horizontally

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #147869
    ratneshray
    Participant

    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:

    http://www.cssdesk.com/hDLJ9

    Thanks and regards!

    #147875
    Paulie_D
    Member

    You have a min-width of 1000px….could that be it?

    #147938
    ratneshray
    Participant

    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.

    #147945
    Senff
    Participant

    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).

    #147946
    ratneshray
    Participant

    Okay. I have seen various websites with fixed menu bar and also horizontally scrollable. Are those done using jquery?

    #147949
    Senff
    Participant

    Probably by wrapping it in another div or something like that.

    Personally, I think horizontal scrolling is not cool and should be avoided anyway…

    #147974
    jurotek
    Participant

    Here… is a quick example of horizontal fixed navigation you might find useful

Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘CSS’ is closed to new topics and replies.