Sean,

Friday, February 24, 2006, 8:08:57 PM, you wrote:

SJ> scroll down to the section on embed multimedia, it has info on how to embed
SJ> flash using CSS.

I really doubt that it is possible to embed flash by CSS. All these
methods use the (X)HTML object tag. And this is mandatory to embed
flash or other multimedia content into HTML pages. (Ok, you could also
use the non standard embed tag for Netscape and Co., but there is
really no need to do so.)

Coming back to Mark's question, my answer is no, you can't use CSS for
your needs. The best thing you can do is using the UFO method that Jesse
already proposed, if you want to manage all your pages from one single
maintenance point. (There are other options like CMS, <add your
favourite server side programming language her>, or simple Dreamweaver
templates to do so.)

If you don't want to use JavaScript for that, you can use conditional
comments for showing/hiding the right/wrong object attributes to the
specific browsers:

<!--[if IE]>
  <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
<![endif]--><!--[if !IE]><x-->
  <object data="/flash/homepage.swf" type="application/x-shockwave-flash">
<!--><![endif]-->
     <param name="movie" value="/flash/homepage.swf" />
     <param name="quality" value="high" />
     <param name="wmode" value="transparent" />
     <!-- Alternate Content goes here -->
     <img src="/img/flash/homepage.jpg" alt="" />
  </object>

This will validate, but it uses IE proprietary conditional comments.
IMHO it is a valid and safe method, but there are other opinions about
that.

I hope, I could help you.

Martin.

PS: If anyone want to try to convince me, that it is possible to embed
flash by using CSS, I'm very interested in that solution. But I can't
imagine that.

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to