Answers for "how to center-align an iframe on a web page"

1

center iframe

<div class="iframe-container">
  <!--iframe link is the link to the jsfiddle-->
  <iframe src="https://jsfiddle.net/8z9s1t6x/2/"></iframe>
</div>

<style>
  .iframe-container {
		text-align:center;
  		width:100%;
  }
</style>
Posted by: Guest on August-23-2020

Code answers related to "how to center-align an iframe on a web page"

Browse Popular Code Answers by Language