All Posts by Email, Once a Week

Media Temple logo

CSS-Tricks is brought to you in part by Media Temple, the web hosting that we both use and recommend.

Nav Menu is wrapping when browser window is resized.

  • # May 22, 2013 at 3:02 am

    Nav Menu is wrapping when browser window is resized.

    Is there any solution for that?

    # May 22, 2013 at 3:05 am

    Do you have a link?

    Are you using media queries?

    # May 22, 2013 at 3:12 am

    Actually the site is not on the server.

    The website is not responsive. It is fixed width layout.

    I am not using media queries. Nav Menu is wrapping when browser window resize using CTRL +, CTRL -.


    # May 22, 2013 at 3:19 am

    OK…that’s not re-sizing…that’s zooming.

    You are making the elements larger visually and so the pixel values now start to exceed a set limit (probably the width of the wrapper or ul)…so it wraps.

    Perhaps put something in Codepen so we can play or switch to a percentage based width option.

    # May 22, 2013 at 3:33 am

    Hi Paulie,

    I have created the nav menu structure in codepen.

    Please open it in chrome browser.


Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed