Add flash background to a web page


/ Published in: CSS
Save to your folder(s)



Copy this code and paste it in your 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. }

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.