Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2007
    Location
    Left Coast
    Posts
    71
    Thanks
    3
    Thanked 1 Time in 1 Post

    Adding swf to css

    I have a css based page with an image for a banner.
    I have created an swf file to replace the banner that I can't get to show up on the page. This is the css section for the image banner now.

    .banner{
    background:url(images/bannerbg3_13.gif) repeat-x;
    height:130px;
    width:100%;
    border-bottom:3px solid #1553B9;
    }


    When I change the url line to match the swf it doesn't show. There is obviously more to it than that.

    The line on the html page is
    <div class="banner">

    Where do I need to make the modifications and what kind?
    Thanks in advance
    www.virtualwebvideo.com

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    You can't set a flash file as a background image simply because well...its not an image. You will need to embed it into the document. Check out http://blog.deconcept.com/swfobject/
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    New Coder
    Join Date
    Jan 2007
    Location
    Left Coast
    Posts
    71
    Thanks
    3
    Thanked 1 Time in 1 Post

    Resolved

    Thanks for taking a look. Got it handled. Trial and Error.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •