如何在导航栏中调整表格?

时间:2019-05-07 09:33:08

标签: javascript php html css

我要在html文件中创建导航栏,并且当我为平板电脑设备或移动设备设置导航栏样式时。导航栏中的表格不会调整。

请告诉我该怎么办。

<nav class="navbar navbar-expand-md">
            <a class="navbar-brand" href="index.php">Login System</a>
            <button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#navbarCollapseMenu">
                <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarCollapseMenu">
                <ul class="navbar-nav">
                    <li class="nav-item">
                        <a class="nav-link" href="index.php">Home</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="">Portfolio</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="">About</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="">Contact</a>
                    </li>
                </ul>
                <form class="form-inline" action="includes/login.inc.php" method="post">
                    <input type="text" class="form-control" name="mailuid" placeholder="Username/Email">
                    <input type="password" class="form-control" name="pwd" placeholder="Password">
                    <button class="btn btn-primary" type="submit" name="login-submit">Login</button>
                </form>
                <a class="btn btn-warning" href="signup.php">SingUp</a>
                <form action="includes/logout.inc.php" method="post">
                    <button class="btn btn-primary" type="submit" name="logout-submit">LogOut</button>
                </form>
            </div>
        </nav>

0 个答案:

没有答案