fallback image for flash object

后端 未结 1 409
长情又很酷
长情又很酷 2020-12-21 07:59

If i want a image to show if this flash cannot be loaded how do i do that?




        
                      
相关标签:
1条回答
  • 2020-12-21 08:41

    You could wrap the object tag in a div and apply a background-image to the div.

    CSS:

    .wrapper
    {
        background: url(path/to/image.png);
    }
    

    HTML:

    <div class="wrapper">
        <object..
    </div>
    
    0 讨论(0)
提交回复
热议问题