'background-color' Example : background color : CSS Attributes and Javascript Style Properties HTML CSS TUTORIALS


HTML CSS TUTORIALS » CSS Attributes and Javascript Style Properties » background color »

 

'background-color' Example



    
<html>
<head>
</head>
<body>
<div style="background:blue url(http://www.navioo.com/style/logo.png) repeat top left; 
            width:200; 
            border:3; 
            height:150; 
            font-size:14"></div>
            <br><br><br><br><br><br><br><br><br>
<div style="background-color:red; 
            background-attachment:fixed; 
            background-image:url(http://www.navioo.com/style/logo.png); 
            background-repeat:repeat; 
            background-position-x:top; 
            background-position-y:left; 
            width:200; 
            border:3; 
            height:150; 
            font-size:14">
            
            background-color is red.
            </div>
</body>
</html>

    
      
      



HTML code for linking to this page:

Follow Navioo On Twitter

HTML CSS TUTORIALS

 Navioo CSS Attributes and Javascript Style Properties
» background color