Html 如何将两个响应表放在一列中?

Html 如何将两个响应表放在一列中?,html,css,Html,Css,我怎样才能把一张反应灵敏的桌子放在另一张桌子旁边? 我使用了下面分享的HTML代码。但是,第二个表已放在第一个表下 <div class="row"> <div class="col-sm-6 .col-md-5 .col-lg-6"> <center><h4>GÜNLÜK DEMİR FİYATLARI</h4></center> <table class="table table-st

我怎样才能把一张反应灵敏的桌子放在另一张桌子旁边? 我使用了下面分享的HTML代码。但是,第二个表已放在第一个表下

<div class="row">
   <div class="col-sm-6 .col-md-5 .col-lg-6">
      <center><h4>GÜNLÜK DEMİR FİYATLARI</h4></center>
      <table class="table table-striped">
         <thead>
            <tr>
               <th>Bölge</th>
               <th>Tarih</th>
               <th>Kalın Demir</th>
               <th>İnce Demir</th>
            </tr>
         </thead>
      </table>
      <center><h4>PİYASA FİYATLARI</h4></center>
      <table class="table table-striped">
         <thead>
            <tr>
               <th>Döviz</th>
               <th>Tarih</th>
               <th>Alış</th>
               <th>Satış</th>
            </tr>
         </thead>
      </table>
   </div>
</div>

GÜNLÜK DEMİR FİYATLARI
贝尔格
塔里赫
卡尔·德米尔
İnce Demir
PİYASA FİYATLARI
德维兹
塔里赫
阿尔ış
坐

这里是完整的和活的

如何将两个响应表放在一列中?

像这样添加html:

<div class="table-row">
    <div class="row">
        <div class="col-sm-6 col-md-5 col-lg-6">
            <center><h4>GÜNLÜK DEMİR FİYATLARI</h4></center>
            <table class="table table-striped">
                <thead>
                    <tr>
                    <th>Bölge</th>
                    <th>Tarih</th>
                    <th>Kalın Demir</th>
                    <th>İnce Demir</th>
                    </tr>
                </thead>
            </table>

            <center><h4>PİYASA FİYATLARI</h4></center>
            <table class="table table-striped">
                <thead>
                    <tr>
                    <th>Döviz</th>
                    <th>Tarih</th>
                    <th>Alış</th>
                    <th>Satış</th>
                    </tr>
                </thead>
            </table>        
        </div>
        <div class="col-sm-6 col-md-5 col-lg-6">
            <center><h4>GÜNLÜK DEMİR FİYATLARI</h4></center>
            <table class="table table-striped">
                <thead>
                    <tr>
                    <th>Bölge</th>
                    <th>Tarih</th>
                    <th>Kalın Demir</th>
                    <th>İnce Demir</th>
                    </tr>
                </thead>
            </table>

            <center><h4>PİYASA FİYATLARI</h4></center>
            <table class="table table-striped">
                <thead>
                    <tr>
                    <th>Döviz</th>
                    <th>Tarih</th>
                    <th>Alış</th>
                    <th>Satış</th>
                    </tr>
                </thead>
            </table>    
        </div>
    </div>
</div>

您需要用col类包装表(和标题)。我创作了一把小提琴

<div class="row">
  <div class="col-sm-6 col-md-5 col-lg-6">
    <center><h4>GÜNLÜK DEMİR FİYATLARI</h4></center>
    <table class="table table-striped">
    <thead>
    <tr>
    <th>Bölge</th>
    <th>Tarih</th>
    <th>Kalın Demir</th>
    <th>İnce Demir</th>
    </tr>
    </thead>
    </table>
  </div>
  <div class="col-sm-6 col-md-5 col-lg-6">
    <center><h4>PİYASA FİYATLARI</h4></center>
    <table class="table table-striped">
    <thead>
    <tr>
    <th>Döviz</th>
    <th>Tarih</th>
    <th>Alış</th>
    <th>Satış</th>
    </tr>
    </thead>
    </table>

  </div>
</div>

GÜNLÜK DEMİR FİYATLARI
贝尔格
塔里赫
卡尔·德米尔
İnce Demir
PİYASA FİYATLARI
德维兹
塔里赫
阿尔ış
坐

非常感谢@欢迎光临@卡岑利布
<div class="row">
  <div class="col-sm-6 col-md-5 col-lg-6">
    <center><h4>GÜNLÜK DEMİR FİYATLARI</h4></center>
    <table class="table table-striped">
    <thead>
    <tr>
    <th>Bölge</th>
    <th>Tarih</th>
    <th>Kalın Demir</th>
    <th>İnce Demir</th>
    </tr>
    </thead>
    </table>
  </div>
  <div class="col-sm-6 col-md-5 col-lg-6">
    <center><h4>PİYASA FİYATLARI</h4></center>
    <table class="table table-striped">
    <thead>
    <tr>
    <th>Döviz</th>
    <th>Tarih</th>
    <th>Alış</th>
    <th>Satış</th>
    </tr>
    </thead>
    </table>

  </div>
</div>