Posted By

codamani on 10/02/10


Tagged

css flash background


Versions (?)

Who likes this?

4 people have marked this snippet as a favorite

rukarmr
hmvrulz
jamiedollard
jplr


Add flash background to a web page


 / Published in: CSS
 

URL: http://codamaniacs.com/html-xhtml/ajouter-background-flash-page-html.html

  1. HTML :
  2. <div id="container">
  3. <div id="background">
  4. Here you are invited to add the swf embed details
  5. </div>
  6.  
  7. <div id="content">
  8. Here you can add the html content
  9. </div>
  10. </div>
  11. =======================
  12. CSS:
  13. #container{
  14. height: 400px;
  15. width: 500px;
  16. position: relative;
  17. }
  18. #background{
  19. z-index: 1;
  20. position: absolute;
  21. }
  22. #content{
  23. z-index: 2;
  24. position: relative;
  25. }

Report this snippet  

You need to login to post a comment.