Saturday 15 January 2011

html - How to use SWF as body Background? -


How to use SWF as body background in HTML with CSS or some other scripts? body {background-image: url (bg.swf); Background repeat: repeat; Background-position: center top; }

(this is just an example)

best The way I think that will simply determine the status of SWF in my CSS code, so that it is always behind all the items that appear.

You can use the z-index property for:

  .mySWF {z-index: -1; } This creates a class call "mySWF" which is behind the rest of the rest of everything else. All you have to do is add that you can add it to your SWF object in the code:  
  class = "mySWF"   

And he will push it back.

No comments:

Post a Comment