초보입니다ㅠㅠ html,css 질문입니다 채택완료

아래는 제가 쓴 html 과 css 소스입니다.
<style>
#step2 {
background-color:#7ddcd8;
width:100%;
height:auto;
overflow:hidden;
margin:0 auto;
padding-top: 70px;
}
#step2 .inner {
width:100%;
max-width:900px;
height:auto;
margin:0 auto;
overflow:hidden;
}
#step2 .inner img{
width:100%;
max-width:900px;
height:auto;
margin:0 auto;
overflow:hidden;
}
#step2 .iframe1 {
position:absolute;
left:50%;
top:50%;
margin-left:-390px;
margin-top:150px;
z-index:99;
overflow:hidden;
}
</style>
<body>
<div id="step2">
<div class="inner">
<img src="img/step2.gif" alt="" border="0" />
</div>
<div class="iframe1">
<iframe width="800" height="550" src="https://youtube.com/embed/vcSONxCtnyA?rel=0;amp;autoplay=1" target="_blank">https://youtube.com/embed/vcSONxCtnyA?rel=0;amp;autoplay=1" frameborder="0" allow="encrypted-media" allowfullscreen></iframe>
</div>
</div>
</body>
답변 1개
답변을 작성하려면 로그인이 필요합니다.
로그인