• Hi

    I am facing a problem as how to alignment the navigation bar width 1351px so that when it appears on mobile, the site will be at the center.

    My code is :

    nav { background: url(“http://uendi.com/wp-content/uploads/2013/12/Nav-Menu-Bar-1.png”) no-repeat; border-radius: 0; width: 1351px; height: 46px; margin-left: -176px; }

    When I refer to the mobile, it’s float on the left. Later, when I change it to width: 1000px, it’s good to see it float on the center, but I want it to be 1351px, so I add a padding-right: 352px, then again it move to the left.

    Anybody can help…

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘How To Alignment Navigation Bar ?’ is closed to new replies.