Welcome to WebmasterWorld Guest from 54.226.32.234

Forum Moderators: phranque

Message Too Old, No Replies

Creating Spaces on Embedded Videos

Problem: Text running into embedded videos

     

Timetraveler

9:32 pm on Mar 3, 2013 (gmt 0)

5+ Year Member



I've embedded a few videos on my site and have tried multiple ways to keep the text from running into the video. What I have tried is hspace vspace and also a <div> code I found that a couple people were using. Still no luck.

This is for Wordpress. Does anyone know the proper code to make a buffer on the left side of videos, and also the top/bottom of the video?

Thanks

tedster

1:35 am on Mar 4, 2013 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Would you copy/paste the exact HTML code used for embedding for us to see? You should obscure the link to the video.

Timetraveler

3:01 am on Mar 4, 2013 (gmt 0)

5+ Year Member



Sure. I actually figured it out, the code was set to 'bottom' and I changed it to 'left' for a buffer and it worked.

In case anyone is curious this is what the code is that I used:

<div style="float:right;margin-bottom:10px;">VIDEO</div>

If you change 'bottom' to 'left' or what you need it will create a buffer.

tedster

4:34 am on Mar 4, 2013 (gmt 0)

WebmasterWorld Senior Member tedster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



Or you can add margin-left="10px" and keep the margin-bottom if you need it too. Glad you got it.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month