css body background image strip

by Prakash 2013-09-19 11:53:41

Large background images increases page load time. So it is good idea to use small background image stripes. Use the following css to do that :


body{
margin:0;
color:#232323;
padding-top:15px;
padding-right: 0;
padding-bottom:15px;
padding-left: 0;
background:url("images/background.jpg") repeat-x scroll center top #331A00;
}


In the above code background.jpg is the small strip image used to show as a background.

Tagged in:

927
like
0
dislike
0
mail
flag

You must LOGIN to add comments