Web Hosting Talk







View Full Version : Object padding


scottelliott
06-11-2009, 04:42 AM
Hey Guys,

I have a a flash object inside of <object> tags. I have it emebedded on a page however the text around it is too close. I need the object to have padding, however I cannot for the life of me get the padding to work.

Here is the <object> stuff <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
id="beta_1"
width="280" height="345" align="left" border="1px" padding-left="35em" padding-right="35em" >
<param name="movie" value="beta_1.swf">
<param name="bgcolor" value="#FFFFFF">
<param name="quality" value="high">
<param name="menu" value="false">
<param name="allowscriptaccess" value="samedomain">
<embed
type="application/x-shockwave-flash"
pluginspage="http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
name="beta_1"
width="280" height="345"
src="beta_1.swf"
bgcolor="#FFFFFF"
quality="high"
menu="false"
allowscriptaccess="samedomain">
<noembed>
</noembed>
</embed>
</object>

The problem as you can see is below -> freeimagehosting.net/uploads/0de38f6281.jpg

scottelliott
06-11-2009, 06:56 AM
Wow, that was easy!! Forgot to put a "." in my CSS and well, makes a massive difference!! All sorted!