Various languages have the method, I mainly do php,php of course also have some functions. CSS is also possible, this is to do the art of the staff, must be very familiar with, but to do the procedure, it is not necessarily familiar. Suddenly feel that CSS is also very powerful.
Let's take a look at an example, and you'll definitely understand how CSS is implemented.
< Html><head><meta http-equiv= "Content-type" content= "text/html; Charset=utf8 "/><style type=" Text/<a href= "http://www.php1.cn/category/72.html" >css</a> "&GT; photo1 {background-image:url ("<a href=" http://www.php1.cn/category/72.html ">css</a>_cut.gif");& nbsp; #定义了一个背景图片 background-position:100% 100%; #背景位置放到最右下角 height:50px; #div的高度 width:50px; #div的宽度}. Photo2 {Background-image:url ("<a href=" http://www.php1.cn/category/72.html ">css</a>_cut.gif "); #定义了一个背景图片, and the picture above is the same background-position:0 0; & nbsp; #背景位置放到最左上角 height:50px; #div的高度 width:50px; #div的宽度}</style></head><body><div class= "Photo1" > </div><strong> two of them split up </srong><div class= "Photo2" > </div></body></HTML>