'background-repeat' Example : background repeat « CSS « HTML / CSS






'background-repeat' Example

  
    
<head>
<style>
#myL {background-color:#EEEEEE; 
      background-image:url("http://www.java2s.com/style/logo.png");
      height:500; 
      background-repeat:repeat; 
}
</style>
</head>
<body>
<div id="myL" style="width:500"></div>
</body>
</html>

    
      
        
    
  








Related examples in the same category

1.The background-repeat Property
2.background-repeat: repeat-y
3.background-repeat: repeat-x
4.background-repeat: no-repeat
5.background-repeat: repeat-x;
6.background-repeat: repeat-y;
7.background-repeat: no-repeat;
8.background-repeat: repeat;
9.background-repeat using repeat-y
10.background-repeat using no-repeat
11.background-repeat: no repeat
12.background-repeat: repeat x
13.background-repeat: repeat y
14.background-repeat: no-repeat
15.Set background image and repeat separately
16.Set background repeat: repeat-x
17.background-repeat:repeat-y
18.background-repeat:repeat