目录搜索
简介 Introducing样式表简介 Introduction to CSS2关于本手册 About this handbook苏沈小雨 About rain1977属性 Properties字体 Fontfontcolorfont-familyfont-sizefont-size-adjustfont-stretchfont-stylefont-weighttext-decorationtext-underline-positiontext-shadowfont-varianttext-transformline-heightletter-spacingword-spacing文本 Texttext-indenttext-overflowvertical-aligntext-alignlayout-flowwriting-modedirectionunicode-bidiword-breakline-breakwhite-spaceword-wraptext-autospacetext-kashida-spacetext-justifyruby-alignruby-overhangruby-positionime-modelayout-gridlayout-grid-charlayout-grid-char-spacinglayout-grid-linelayout-grid-modelayout-grid-type背景 Backgroundbackgroundbackground-attachmentbackground-colorbackground-imagebackground-positionbackground-positionXbackground-positionYbackground-repeatlayer-background-colorlayer-background-image定位 Positioningpositionz-indextoprightbottomleft尺寸 Dimensionsheightmax-heightmin-heightwidthmax-widthmin-width布局 Layoutclearfloatclipoverflowoverflow-xoverflow-ydisplayvisibility外补丁 Marginsmarginmargin-topmargin-rightmargin-bottommargin-left轮廓 Outlinesoutlineoutline-coloroutline-styleoutline-width边框 borderborderborder-colorborder-styleborder-widthborder-topborder-top-colorborder-top-styleborder-top-widthborder-rightborder-right-colorborder-right-styleborder-right-widthborder-bottomborder-bottom-colorborder-bottom-styleborder-bottom-widthborder-leftborder-left-colorborder-left-styleborder-left-width内容 Generated Contentinclude-sourcequotescontentcounter-incrementcounter-reset内补丁 Paddingspaddingpadding-toppadding-rightpadding-bottompadding-left列表 Listslist-stylelist-style-imagelist-style-positionlist-style-typemarker-offset表格 tableborder-collapseborder-spacingcaption-sideempty-cellstable-layoutspeak-header滚动条 Scrollbarscrollbar-3d-light-colorscrollbar-highlight-colorscrollbar-face-colorscrollbar-arrow-colorscrollbar-shadow-colorscrollbar-dark-shadow-colorscrollbar-base-color打印 Printingpagepage-break-afterpage-break-beforepage-break-insidemarksorphanssizewidows声音 Auralvoice-familyvolumeelevationazimuthstressrichnessspeech-ratecuecue-aftercue-beforepausepause-afterpause-beforepitchpitch-rangeplay-duringspeakspeak-numeralspeak-punctuation其它 Classificationcursorbehaviorfilterzoom选择符 Selectors通配选择符 Universal Selector类型选择符 Type Selectors属性选择符 Attribute Selectors包含选择符 Descendant Selectors子对象选择符 Child SelectorsID选择符 ID Selectors类选择符 Class Selectors选择符分组 Grouping伪类 Pseudo-Classes:link:hover:active:visited:focus:first-letter:first-line:first-child:first:left:right:lang伪对象 Pseudo-Elements:before:after规则 At-Rules@import@charset@font-face@fontdef@page@media声明 Declaration!important单位 Units长度 Lengthpxemexptpcinmmcm颜色 Colorrgb(RGB)#RRGGBBColor Name角度 Angledeggradrad时间 Timesms频率 FrequencyHzkHz附录 Appendix颜色表 Color Table设备类型 Media Types字符集识别 Character Set RecognitionISO Latin-1字符集 ISO Latin-1 Character SetHTML附加命名实体特殊文本和BIDI文本的字符实体
文字

DHTMLET® 属性清单 | 相关内容:
background版本:CSS1  兼容性:IE4+ NS4+ 继承性:无

 
语法:
 
background : background-color || background-image || background-repeat || background-attachment || background-position
 
参数:
 
该属性是复合属性。请参阅各参数对应的属性。
 
说明:
 
如使用该复合属性定义其单个参数,则其他参数的默认值将无条件覆盖各自对应的单个属性设置。
默认值为:transparent none repeat scroll 0% 0%
尽管该属性不可继承,但如果未指定,其父对象的背景颜色和背景图将在对象下面显示。
对应的脚本特性为background。请参阅我编写的其他书目。
 
示例:
 
div { background: red no-repeat scroll 5% 60%; }
body { background: url("images/aardvark.gif") repeat-y; }
pre { background: url("images/aardvark.gif") top; }
caption { background: fuchsia; }
 
 
 
苏沈小雨制作·保留所有权利
&copy2001 rain1977.comer . All rights reserved . Terms of Use .
上一篇:下一篇: