I’m working with bootstrap and my pull-right doesn’t shift the div Nav to the right?

Asked

Viewed 199 times

1

<html>
<head>
    <meta charset="utf-8">
    <title>Victor</title>    
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="css/estilo.css">
</head>
<body>
    <header>
        <div class="container">
            <div class="row">
                <nav id="menu" class="pull-right">
                    <ul>
                        <li>victor</li>
                        <li>victor</li>
                        <li>victor</li>
                        <li>victor</li>

                    </ul>
                </nav>

            </div>
        </div>
    </header>
</body>

</html>

header{
background-color: #666;
height: 150px;
}
#menu{
display: inline-block;
}

1 answer

-2

See if you can figure it out by putting it on css:

menu{
    display: inline-flex;
}

Browser other questions tagged

You are not signed in. Login or sign up in order to post.