我需要在视频和视频右侧的文本之间添加空格。我无法弄清楚页面在 iframe 中我能够将文本放在视频的右侧我现在需要一个缓冲区我也使用 html5
<div class="testimonials_inerbg">
<div class="testimonials_inerbg_right">
<p><iframe src="https://www.youtube.com/embed/x4GWNZn5MK4?
feature=player_embedded" frameborder="0" align="left" width="300" height="200">
</iframe> </p>
<p> Dr. Amin has taken Parasitology to a professional level of expertise.
I have had extremely ill patients who have had negative stool tests and
Dr. Amin has found multiple parasites. His secret is to not use
destructive stains and to simply look at the specimen.
He can even identify bugs by the ripple signature on the slide like a
good sonar operator can identify enemy submarines. Through his work,
Dr. Amin has helped me be a better physician.</p>
<p>Dr. Bruce H. Shelton MD MD(H)</p>
<p>President Arizona Homeopathic and Integrative Medical Association</p>
<h6>Dr Bruce H Shelton
<br />
</h6>
</div>
<div class="clear"></div>
</div>
最佳答案
您可以使用 padding-right: 20px
在视频右侧(或文本左侧)添加内边距,并根据需要进行调整。示例:http://jsfiddle.net/ckpjthpu/
将样式添加到外部样式表可能会更好,当然,如果您有外部样式表并且打算重复这种样式。
关于css - 我需要在视频和视频右侧的文本之间添加空格,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25270567/