Css 如何在引导中在徽标旁边添加标题?

Css 如何在引导中在徽标旁边添加标题?,css,twitter-bootstrap,Css,Twitter Bootstrap,这是我的密码 <div id="carousel-example" class="carousel slide" data-ride="carousel"> <div class="carousel-inner"> <div class="item active"> <a href="#"><img src="http://s17.postimg.org/sjco0mvjz/home_slider1.jpg

这是我的密码

    <div id="carousel-example" class="carousel slide" data-ride="carousel">


  <div class="carousel-inner">
    <div class="item active">
      <a href="#"><img src="http://s17.postimg.org/sjco0mvjz/home_slider1.jpg" /></a>

    </div>
    <div class="item">
      <a href="#"><img src="http://s17.postimg.org/7p0bit16n/home_slider2.jpg" /></a>

    </div>
    <div class="item">
      <a href="#"><img src="http://s17.postimg.org/6lg76ugjj/home_slider3.jpg" /></a>

    </div>
       <div class="item">
      <a href="#"><img src="http://s17.postimg.org/mh51a573z/home_slider4.jpg" /></a>

    </div>
  </div>


</div>


<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="navbar-inner"> <!--changes made here-->
    <div class="container">
            <a class="navbar-brand" href="#">
                <img src="http://s7.postimg.org/5qb3lvxsn/logo_new.png" alt="">
            </a>   
    </div>
</div>
</nav>



    <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js'></script>
我需要这样的东西

我可以知道,标题“安全生活”,在徽标旁边显示AlertID

我应该使用哪个引导类


谢谢,

我需要一些类似引导的东西。。所以我需要添加引导类。。谢谢你可以使用bootstrap-inbuild类来处理像center这样的文本,它会自动将你的文本居中。你可以使用bootstrap-boxing模式来实现这一点……现在我已经使用myStyleSheet了。您可以查看参考。
you can use <p> Live Safely.....</p> tag for text on the image.
you just have to change the style of the <p> tag something like this.

position:absolute;
margin-left: your_requirement;
margin-top: your_requirement;

and you can add many more according to your requirements.