Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 73964

position img added using bootstrap

$
0
0

I added three images by bootstrap. but these images display in left side of page, while I want them display in center of page.

How can I do it?

this is code of images and bootstrap

<div id="carouselExampleInterval" class="carousel slide" data-ride="carousel" root="teal">
  <div class="carousel-inner">
    <div class="carousel-item active" data-interval="10000">
      <img src="img/pic1.jpg" class="d-block w-100" alt="..."width="1010"height="600px">
    </div>
    <div class="carousel-item" data-interval="2000">
      <img src="img/pic2.jpg" class="d-block w-100" alt="..."width="1010"height="600px">
    </div>
    <div class="carousel-item">
      <img src="img/pic3.jpg" class="d-block w-100" alt="..."width="1010"height="600px">
    </div>
  </div>
  <a class="carousel-control-prev" href="#carouselExampleInterval" role="button" data-slide="prev">
    <span class="carousel-control-prev-icon" aria-hidden="true"></span>
    <span class="sr-only">Previous</span>
  </a>
  <a class="carousel-control-next" href="#carouselExampleInterval" role="button" data-slide="next">
    <span class="carousel-control-next-icon" aria-hidden="true"></span>
    <span class="sr-only">Next</span>
  </a>
</div>

Viewing all articles
Browse latest Browse all 73964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>