Welcome to collectivesolver - Programming & Software Q&A. A website you can trust. All programs tested and works. Contact: aviboots(AT)netvision.net.il
BlueHost Web Hosting

Bonsai Boy of New York Bonsai Trees and Accessories

Website Domains Names & Hosting | Domain.com

Ecommerce Software - Best Ecommerce Platform Made for You - Free Trial

DreamHost Web Hosting

Instant Grammar Checker - Correct all grammar errors and enhance your writing

Liquid Web Cloud VPS Hosting

Disclosure We are a professional Programming & Software Q&A website, that receives compensation from some of the links whose we show you with Information. It means that my content may contain affiliate links.

12,691 questions

17,281 answers

573 users

How to create fixed navigation bar at the top of the page in Bootstrap

1 Answer

0 votes
<!DOCTYPE html>
<html lang="en">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet"

<body style="height:1600px">

<nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="#">YourWebSiteName</a>
    <ul class="nav navbar-nav">
      <li class="active"><a href="#">Home</a></li>
     <li><a href="#">PHP</a></li>
     <li><a href="#">JavaScript</a></li>
     <li><a href="#">HTML</a></li>
     <li><a href="#">CSS</a></li>
<div class="container" style="margin-top:100px">
  <h2>Bootstrap fixed navigation bar at the top of the page</h2>
    Bootstrap is the most popular HTML, CSS, and JS framework for developing 
    responsive, mobile first projects on the web.
    <h3>Designed for everyone, everywhere</h3>
    Bootstrap makes front-end web development faster and easier. 
    It's made for folks of all skill levels, devices of all shapes, 
    and projects of all sizes.



answered Jul 22, 2017 by avibootz