フローティング レイアウト内に YT ビデオ (iframe) を埋め込んでいますが、フロートが壊れています。右の div complete がビューから消えます。
シンプルなレイアウトです:
|コンテンツ| 左 | 左 | 真ん中 | 右 | /コンテンツ |
HTML
<div id="container">
<div id="content">
<div id="left"></div>
<div id="middle">
<iframe id="ytplayer" type="text/html" width="200" height="180" src="http://www.youtube.com/embed/CTAud5O7Qqk?autoplay=1" frameborder="0" />
</div>
<div id="right"></div>
</div>
CSS
#container {
width: 100%;
background-color: gray;
height: 200px;
}
#left {
width: 25%;
height: 190px;
background-color: green;
float: left;
}
#middle {
height: 190px;
width: 50%;
background-color: purple;
float: left;
}
#right {
width: 25%;
height: 190px;
background-color: orange;
float: left;
}
#content {
width: 80%;
height: 200px;
margin: auto;
}