Forums

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

Home Forums CSS [Solved] On resizing browser menu item goes down

  • This topic is empty.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #189643
    bhawna
    Participant

    I am getting a problem in navigation bar.It is working fine but when i am resizing the browser navigation bar item goes down. Plz give suggestion so that on resizing menu item doesnt goes down.

    [MOD EDIT – Codedump Removed]

    #189649
    shaneisme
    Participant

    Unfortunately there’s nothing we can do to help you with this code dump.

    Please provide a full example using CodePen, or a live link so we can take a look.

    #189652
    Paulie_D
    Member

    Please provide a full example using CodePen

    What he meant to say was a reduced case example with only the HTML & CSS required to demonstrate the issue.

    #189653
    bhawna
    Participant

    thanks but that problem is fixed now but i am facing another problem..when i am resizing the browser window menu item goes outside the div..

    the link for code is as below..

    https://gist.github.com/anonymous/0d57c6ba53f00110c551

    #189655
    Paulie_D
    Member

    …a reduced case example with only the HTML & CSS required to demonstrate the issue.

    Please don’t make us download code to demo the issue.

    Codepen.io is the perfect place to show us the problem.

    Help us help you.

    #189656
    bhawna
    Participant

    so shall i send you the code again

    #189659
    bhawna
    Participant

    Please find below codepen.io for my problem..sorry for inconvenience

    http://codepen.io/anon/pen/Qwjpeb

    #189664
    Paulie_D
    Member

    I’ve centered the ul…which I assume you wanted.

    For some reason you’d floated it left then used margin to push it back…I think that was the source of the problem.

    I’ve added a red border so you can see that the current list items don’t quite fill the ul on large screens. You might want to think about a bg color for the ul to ‘hide’ that.

    Oh…and media queries too…for smaller screens.

    http://codepen.io/Paulie-D/pen/GgpmNa

    #189710
    bhawna
    Participant

    Thanks i already fixed that ..

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