HTML CSS Reference/HTML Attributes Reference/bgproperties

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

"bgproperties" Example

    
<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>



bgproperties is applied to

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



"bgproperties" Syntax and Note

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>