css - 我需要在视频和视频右侧的文本之间添加空格

标签 css class text

我需要在视频和视频右侧的文本之间添加空格。我无法弄清楚页面在 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/

相关文章:

android - [Android]ListView剪切TextView文本

javascript - 在不清除屏幕的情况下显示javascript变量

html - twitter bootstrap select 覆盖了它的一些标签

javascript - D3.js 替换段落中的文本

Java从其他文件导入

python - 重写父类方法时的问题

r - 使用 R 计算文本文件中单词的出现次数

css - 如何保持 CSS block 相等?

html - 如何更改我的按钮显示的文本?

php - 使用 php 将内联样式转换为 css