Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Horizontal space in an &#60embed&#62 TAG

Status
Not open for further replies.

RockitSeintest

Programmer
May 20, 2004
2
US
I can not get horizontal space to respond inside an <embed> tag.

I embedded a video file with these attributes:

<embed src="mrim2.avi" width="200" height="200" autostart="false" align="right" hspace="5">

No manner what I change the hspace to, it does not change the spacing around the photo. My results are always like this. Any ideals?

t10_rev.jpg
 
You can do this with a CSS style.
Code:
<embed src="mrim2.avi" width="200" height="200" autostart="false" align="right" style = "margin-top:5px;">
You can probably use padding as well margin bottom,left or right. IE margin-bottom:5px; margin-left:5px; margin-right:5px; same for padding. Hope this helps.

Glen
 
Thank you Glen, that worked great. I was going to use a transparent gif as a space holder.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top