html - 我在将地址移到左对齐时遇到问题,但仍然无法正常工作-LMLPHP

我试图将地址移到最左角,但是根本没有用。


  这就是我试图将地址移到最左角的原因,所以
  到目前为止,它根本没有用。


<!-- Page Content -->
<div class="container">

  <!-- Column address below -->

  <div class="column">
    <div class="row">
      <div class="col-md-6">
        <p class="example">
          Baylight Construction LLC 1022 boyle street
          <br>Tel- (232)233-4323 Fax-(232)233-2323
        </p>
      </div>
    </div>
  </div>
</div>


CSS:

.nav a {
  color: white;
  font-size: 15px;
  font-weight: bold;
  padding: 40px 35px;
  text-transform: uppercase;
}
nav li {
  display: inline;
}
img {
  height: 175px;
  width: 175px;
}
.fixed-nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  height: 165px;
  background-color: green;
}

//I've tried that class example and row and none of didn't move to
//far left corner
.example {
  text-align: left;
  float: left;
  margin-left: 5px;
  padding-left: 10px;
}
.row {
  float: left;
}

最佳答案

我已经尝试过,请尝试并查看click here

<div class="container">

  <!-- Column address below -->
  <div class="col-md-6 row col-md-pull-1">

    Baylight Construction LLC 1022 boyle street
    <br>Tel- (232)233-4323 Fax-(232)233-2323

  </div>
</div>

10-07 22:01