Community

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
traciebosket
Community Champion

Padding between Video and Text

Hi All,

I snagged some coding for floating a video from @langlangcat Does anyone know how to add padding between the video and the text? Any suggestions are appreciated! - Tracie

CODE:

<p>text</p>
<p>&nbsp;</p>
<p style="text-align: left;"><iframe style="float: left; width: 640px; height: 480px;" title="The Cat &amp; The Ducklings (Animal Odd Couples)" src="https://www.youtube.com/embed/570khFoaE4s?feature=oembed&amp;rel=0" width="640" height="480" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" mozallowfullscreen="mozallowfullscreen" allow="autoplay *"></iframe>TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXTTEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXTTEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT</p>

 

IT LOOKS LIKE THIS SO FAR:

TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXTTEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXTTEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT

0 Kudos
1 Reply
traciebosket
Community Champion

Oh wow! I found it from @DrNufer's page, Margins. paddings, and boarders.

NOW IT LOOKS LIKE THIS:

TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXTTEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXTTEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT

NEW CODE:

<p style="text-align: left;"><iframe src="https://www.youtube.com/embed/570khFoaE4s?feature=oembed&amp;rel=0" width="640" height="480" allowfullscreen="allowfullscreen" webkitallowfullscreen="webkitallowfullscreen" style="float: right; margin-left: 20px; margin-top: 10px; margin-bottom: 10px;" title="The Cat &amp; The Ducklings (Animal Odd Couples)" mozallowfullscreen="mozallowfullscreen" allow="autoplay *"></iframe>TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXTTEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXTTEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT</p>
<p style="text-align: left;">