将图片对准文字左侧

时间:2018-10-31 20:22:10

标签: html twitter-bootstrap

我正在尝试将此图片放在横幅内文字的左侧。下面是开发人员拥有的代码(我添加了代码以插入图像)。

<section>
  <div class="container ">
    <div class="row">
      <div class="col-sm-12">
        <div class="con">
          <div class="row">
            <div class="col-sm-12">
            
              <div class="banner">
              
                <div class="row">
                  <div class="col-sm-6"> 
                 
                    <?php  ti_slider(4); ?>
                  </div>
                  <div class="col-sm-6 banner_txt">
                    <div class="con-txt">
						
						<div>
 <img src="wp-content/uploads/2015/04/banner-img.96a021a86a.jpg" alt="Burleson" />
 </div>
						
                      <h1 style="margin-top:0px;margin-bottom:5px;">Welcome to Burleson County</h1>
                      <p>Burleson County is dedicated to providing services to the public in an efficient, responsible and professional manner.  Services will be delivered in a caring, humane environment.</p><p>
Burleson County is dedicated to providing a work environment where we respect the dignity, and recognize the merit of each individual employee.</p><p>Burleson County is committed to a policy of open government.</p>			
				
						
                    </div>
                  </div>
                </div>
                
              </div>
              
            </div>
          </div>

0 个答案:

没有答案