Image banner above Twitter bootstrap header

I would like to have a banner above my bootstrap page. My code is below


<div class="masthead">
  <img src="images/gov-header.jpg"/>
<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  <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>
      <a class="navbar-brand" href="#">MST</a>
    <div class="collapse navbar-collapse">
      <ul class="nav navbar-nav">
        <li class="active"><a href="index.html">Home</a></li>
        <li><a href="content.html">Divisions</a></li>
        <li><a href="#projects">Projects</a></li>
        <li><a href="#faqs">FAQs</a></li>
        <li><a href="#resources">Resources</a></li>
        <li><a href="#contact">Contact Us</a></li>
    </div><!--/.nav-collapse -->


.masthead img{


Its better as a background.

    height://height of bg;

Hope this gives you some ideas. You can modify this depending on if you want to fill the whole width or just container length.

Update You have to change

<div class="navbar navbar-inverse navbar-fixed-top" role="navigation">


<div class="navbar navbar-inverse" role="navigation">

See the fiddle

Need Your Help

Need assistance getting my Java UDP client application working

java sockets udp datagram

I am working on a UDP client to communicate with a server that I have no control over. Part of the requirement of communicating with this server is that I must supply a UDP port number [as part of ...