50 users online (1 members and 49 guests)  


  Results 1 to 3 of 3

Related

  1. Flash Detection Code    Forum: Javascript Forum
    Replies: 2
  2. Replies: 0
  3. Replies: 2
  4. Code for a file download    Forum: HTML Forum
    Replies: 8
  5. Flash embedding    Forum: HTML Forum
    Replies: 8
  1. #1
    shaikhi's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2008
    Posts
    1

    Embedding Flash file in CSS code

    Hi
    I'm not a coder by any means, but I'm basically trying to replace an existing .jpg file with a .swf flash file within the code in question below... Any help/guidance on how to best achieve this would be greatly appreciated as I'm really stuck
    div.header div.headerShadow span.siteSubtitle { position:absolute; top:20px; right:0; width:144px; height:161px;text-indent:-9999px; overflow:hidden; background:transparent url(images/xyz.jpg) no-repeat top left; }
    Many Thanks

  2. #2
    skym's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2008
    Location
    Oradea, Romania
    Posts
    10

    Re: Embedding Flash file in CSS code

    You can't render Flash from CSS. You need the proper <object> tag in HTML. I quess you need that Flash to be in the background of something, I wouldn't recommend that, it can be buggy, depending on the Flash and on what's on top of it. If you need the Flash only for some small animations, I would try an animated GIF.

  3. #3
    acgna's Avatar
    New User

    Status
    Offline
    Join Date
    May 2008
    Posts
    7

    Re: Embedding Flash file in CSS code

    flash in css is tricky



Tags for this Thread