<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/x
background-position的说明: 设置或检索对象的背景图像位置。必须先指定 background-image 属性。该属性定位不受对象的补丁属性( padding )设置影响。
语法: background-position-x : length | left | center | right 取值: length :? 百分数 | 由浮点数字和单位标识符组成的长度值。请
语法: background-position-y : length | top | center | bottom 取值: length :? 百分数 | 由浮点数字和单位标识符组成
在Rainer's css手册里对background-position这样写道: 默认值为: 0% 0% 。此时背景图片将被定位于对象不包括补丁( padding )的内容区域的左上角。 如
语法: background-position : length || length background-position : position || position 取值:
css2.0 中的 background-position 大家用到过吗?怎么用的?用在哪里?js控制图片切换有两个缺陷:1.有时后切换缓慢,需要预载解决;2.要制作2-3套图片 看看
<!-- http://www.knowsky.com/js --> <!-- bbs http://www.knowsky.com/bbs--> <script
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"&g