<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