1 Reply Latest reply on May 9, 2006 5:14 PM by Newsgroup_User

    CSS styling on swf files?

    Level 7
      Can I apply styling to swf files just like anything else? Can I give it
      an id? Where would I put it? This is what I have, could I give that p
      styling?

      <p>
      <object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000"
      codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
      width="260" height="40" title="mp3 player">
      <param name="movie" value="pmuckplaya.swf" />
      <param name="quality" value="high" />
      <embed src="pmuckplaya.swf" quality="high"
      pluginspage=" http://www.macromedia.com/go/getflashplayer"
      type="application/x-shockwave-flash" width="260" height="40"></embed>
      </object>
      </p>


      Thanks a lot!
      Brian
        • 1. Re: CSS styling on swf files?
          Level 7
          Brian wrote:
          > Can I apply styling to swf files just like anything else? Can I give it
          > an id? Where would I put it? This is what I have, could I give that p
          > styling?
          >
          > <p>
          > <object classid="clsid 27CDB6E-AE6D-11cf-96B8-444553540000"
          > codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"
          > width="260" height="40" title="mp3 player">
          > <param name="movie" value="pmuckplaya.swf" />
          > <param name="quality" value="high" />
          > <embed src="pmuckplaya.swf" quality="high"
          > pluginspage=" http://www.macromedia.com/go/getflashplayer"
          > type="application/x-shockwave-flash" width="260" height="40"></embed>
          > </object>
          > </p>
          >
          >
          > Thanks a lot!
          > Brian

          try:

          <div style="border:10px solid #f00">
          your flash embed code here
          </div>

          that sure works. You can style either a p or a div or anything else that can contain your flash
          embed tag.

          Of course, none of the styling will change anything to your flash movie itself, only to the container.

          --
          seb ( ---@webtrans1.com)
          http://webtrans1.com | high-end web design
          Downloads: Slide Show, Directory Browser, Mailing List