The picture as the background

Find the following code:

/*======= column =======*/

div#category{

……

adds a word to its last line:

background-image: URL (picture URL);

example:

/*======= column =======*/

div#category{

margin-left:12px;

margin-right:12px;

color: #636563;

height: 30px;

padding-top:12px;

margin: 5px;

background-image: URL (http://s.bimzcy.blogchina.com/inc/xiaonvhai.jpg);

}

(Tips: according to the author’s experience, the width of the picture to < =540 pixels appropriate, if more than the width of the words can be used to cut ACDSEE, to re adjust the image size, very convenient)

Leave a Reply

Your email address will not be published. Required fields are marked *