【发布时间】:2014-06-19 21:04:31
【问题描述】:
我们还没有学习 javascript,因为这是一个初学者课程,但我需要以某种方式将我的 youtube 视频浮动或定位到右侧。我的 CSS 文件中的浮动 id 为 float: right;
<div id="content">
<h1>Welcome!</h1>
<p>"Do You Even Lift?" is an organization that will help you and many others get motivated to get in shape. If you want to get stronger,
lose weight, gain weight or simply live a healthier life, you've come to the right place.<p>
<p>For those that already lift, have lifted previously in their lifetime, are not sure if they lift or not, this video will be helpful in answering that question.</p>
</div>
<div id="float">
<iframe src="http://www.youtube.com/embed/OloLS5kTrVs" width="400" height="315" frameborder="0" allowfullscreen>
</iframe>
</div>
<hr>
<div id="footer">Copyright © 2014 Corey Osmon
</div>
</body>
</html>
【问题讨论】:
-
哦,我知道了,我有 2 个单独的文件,并且我一直打开我没有编辑的浮动 id 的文件。 掌心
标签: css html youtube css-float textwrangler