<section>
<h3>About us</h3>
<p>British Airways virtual is one of the largest virtual airlines for Infinite Flight virtual airlines out there. With over 50 pilots, we have a bustling community. Make sure to come over and join us, and experience it for yourself!<br><br>
Check out the <a href="about.html">about page</a> for more info!</p><br>
<iframe width="80%;" height="500px;" src="https://www.youtube.com/embed/_g3UgCWAdGg" frameborder="0" allowfullscreen></iframe>
</section>
我有這段代碼。任何方式,我可以中間Youtube iframe中間?我試過CSS,但無法弄清楚。居中Youtube iframe?
你可以在這裏查看整個文件:https://github.com/GiacomoLaw/british-airways-virtual/blob/master/index.html
謝謝!
真棒,真的很好!非常感謝。 –
當然:)請注意,其他答案也適用,這是一個例子。 – odedta