none
CSS Menu Help RRS feed

  • Question

  • I can not get my menu to work. What am I overlooking?

    The Link1 and link2 both show the same sub menu and link2 sub menu shows up under link1? Any ideas?

    Thanks, EB

    <nav class="navbar navbar-inverse navbar-fixed-top">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                </div>
                <div class="mynav_navbar">
                    <a href="#home">Home</a>
                    <div class="mynav_dropdown">
                        <button class="mynav_dropbtn">
                            Link1
                            <i class="fa fa-caret-down"></i>
                        </button>
                        <div class="mynav_dropdown-content">
                            <a href="#">Link 1</a>
                            <a href="#">Link 2</a>
                            <a href="#">Link 3</a>
                        </div>
                        <button class="mynav_dropbtn">
                            Links2
                            <i class="fa fa-caret-down"></i>
                        </button>
                        <div class="mynav_dropdown-content">
                            <a href="#">Link 4</a>
                            <a href="#">Link 5</a>
                            <a href="#">Link 6</a>
                        </div>
                    </div>
                </div>
            </div>
        </nav>

    Tuesday, June 4, 2019 1:11 AM

All replies

  • Hi MacBaze,

    Welcome to the MSDN forum.

    According to your description, this issue is about the ASP.NET development and our forum is to discuss the VS IDE, please redirect to this appropriate forum: https://forums.asp.net/ for better support, thanks for your understanding.

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Tuesday, June 4, 2019 2:56 AM