惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
J
Java Code Geeks
IT之家
IT之家
Last Week in AI
Last Week in AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog RSS Feed
P
Proofpoint News Feed
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 【当耐特】
Microsoft Security Blog
Microsoft Security Blog
I
InfoQ
B
Blog
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
博客园 - 聂微东
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
大猫的无限游戏
大猫的无限游戏
U
Unit 42
aimingoo的专栏
aimingoo的专栏

博客园 - 水源

“诚基金”启动救助无鼻女-杨桂情(无鼻女最新进展) 一步一步教你定制变色杯 重新整理expression web 视频教程下载地址 重新整理expression web 视频教程下载地址 ASP.NET 中 Cookie 的基本知识 expression web 视频教程 19讲 数据视图 expression web 视频教程 18讲 网站 expression web 视频教程第17节 表格菜单 expression web 视频教程第16讲:工具菜单 expression web 视频教程第12-15讲:css 定位 布局 列表 表格 expression web 视频教程第十节 格式菜单[4] 样式 expression web 视频教程第九节 格式菜单[3] 样式 expression web 视频教程第八节 格式菜单[2] [转载]ASP.NET AJAX 1.0“我怎么做?”免费录像(更新至最终版) expression web 视频教程第七节 格式菜单 expression web 视频教程第六节 插入菜单 Expression Web 视频教程第五节视图菜单 Expression Web 视频教程第四节编辑菜单 Expression Web 视频教程第三节文件菜单
expression web 视频教程第十一节 格式菜单[5] 样式
水源 · 2007-03-06 · via 博客园 - 水源

11讲 这些Css样式都是网络找的资料,如果大家想深入给我留言。要不我就跳过这些东西。但是我会把相关的参考资料贴出来。谢谢大家关注

语法:

background-repeat : repeat | no-repeat | repeat-x | repeat-y

取值:

repeat :  默认值。背景图像在纵向和横向上平铺
no-repeat :  背景图像不平铺
repeat-x :  背景图像仅在横向上平铺
repeat-y :  背景图像仅在纵向上平铺

说明:

设置或检索对象的背景图像是否及如何铺排。必须先指定对象的背景图像( background-image )。
此属性对于 currentStyle 对象而言是只读的。对于其他对象而言是可读写的。
对应的脚本特性为 backgroundRepeat

示例:

menu { background: url("images/aardvark.gif"); background-repeat: repeat-y; }
p { background: url("images/aardvark.gif"); background-repeat: no-repeat; }

================================================

语法:

background-position-x : length | left | center | right

取值:

length :  百分数 | 由浮点数字和单位标识符组成的长度值。请参阅 长度单位
left :  居左
center :  居中
right :  居右

说明:

设置或检索对象的背景图像横坐标位置。必须先指定 background-image 属性。
该属性定位不受对象的补丁属性( padding )设置影响。
默认值为: 0%
此属性对于 currentStyle 对象而言是只读的。对于其他对象而言是可读写的。
对应的脚本特性为 backgroundPositionX

示例:

p { background-image: url("images/aardvark.gif"); background-position-x: 35%; background-repeat:no-repeat; }

=============================================

语法:

background-position-y : length | top | center | bottom

取值:

length :  百分数 | 由浮点数字和单位标识符组成的长度值。请参阅 长度单位
top :  居顶
center :  居中
bottom :  居底

说明:

设置或检索对象的背景图像纵坐标位置。必须先指定 background-image 属性。
该属性定位不受对象的补丁属性( padding )设置影响。
默认值为: 0%
此属性对于 currentStyle 对象而言是只读的。对于其他对象而言是可读写的。
对应的脚本特性为 backgroundPositionY

示例:

div { background-image: url("images/aardvark.gif"); background-position-y: 35%; background-repeat:no-repeat; }

===============================

background-attachment : scroll | fixed

取值:

scroll :  默认值。背景图像是随对象内容滚动
fixed :  背景图像固定

说明:

设置或检索背景图像是随对象内容滚动还是固定的。
此属性对于 currentStyle 对象而言是只读的。对于其他对象而言是可读写的。
请参阅 bgProperties 属性(特性)。对应的脚本特性为 backgroundAttachment

示例:

html { background-image: url("anasazi.tif"); background-attachment: fixed; }
body { background-attachment: scroll; }

dsfsdfsdfsdf dsfdssdfsdds
dsfdsds dsfsddsds