Switch to full style
HTML code examples
Post a reply

Add background to body

Tue Nov 08, 2011 9:32 pm

Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<
head>
<
title>Add background to body</title>
<
style type="text/css">
body {
    
    
margin5px;
    
background-color#555555;
    
background-imageurl(1.jpg);
    
background-attachmentscroll;
}
</
style>
</
head>
<
body>
<
p>Put your paragraph here Put your paragraph here Put your paragraph here Put your paragraph here !
Put your paragraph here Put your paragraph here Put your paragraph here !Put your paragraph here !!doctype
Put your paragraph here 
Put your paragraph here !Put your paragraph here !Put your paragraph here !Put your paragraph here !!doctype
Put your paragraph here 
!Put your paragraph here !Put your paragraph here !!doctypePut your paragraph here !
Put your paragraph here Put your paragraph here Put your paragraph here Put your paragraph here !
Put your paragraph here Put your paragraph here Put your paragraph here !Put your paragraph here !!doctype
Put your paragraph here 
Put your paragraph here !Put your paragraph here !Put your paragraph here !Put your paragraph here !!doctype
Put your paragraph here 
!Put your paragraph here !Put your paragraph here !!doctypePut your paragraph here 
</
p>
 
</
body>
</
html>
 




Post a reply
  Related Posts  to : Add background to body
 Change the body tag background in html     -  
 CSS body example     -  
 hi every body . . .     -  
 set margin to body tag     -  
 middle sited body page     -  
 preserve the white space with-in the body tag     -  
 change the font style of the body tag     -  
 using double font families with body tag     -  
 overriding the direction of text within body content     -  
 Background Extraction     -  

Topic Tags

HTML Body, CSS Background