HTML CSS Reference/HTML Attributes Reference/bgproperties

Материал из Web эксперт
Перейти к: навигация, поиск

"bgproperties" Example

   <source lang="html4strict">
   

<html> <head> <style>.body1 { background-image:url("http://www.wbex.ru/style/logo.png"); }

      .body2 { background-image:none;!important }

</style> </head> <body id="myBody"

     bgproperties="fixed" 
     background="http://www.wbex.ru/style/logo.png" 
     onclick="this.className="body2"">

</body> </html>


     </source>
   
  


bgproperties is applied to

   <source lang="html4strict">

+----------------+--------------------------------------------------------------+ | Applied_To |<body> | +----------------+--------------------------------------------------------------+

     </source>
   
  


"bgproperties" Syntax and Note

   <source lang="html4strict">

Note:

This attribute sets the scroll properties of the background image. If its value is empty, the background image is scrollable; If its value is fixed, the background image is not scrollable.

Syntax:

<body bgproperties="value"> . . . </body>


     </source>