目录搜索
简介 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® 规则清单 | 相关内容:
@media版本:CSS2  兼容性:IE5+

 
语法:
 
@media  sMedia { sRules }
 
说明:
 
sMedia :  指定设备名称。请参阅附录:设备类型
sRules :  样式表定义
 
指定样式表规则用于指定的设备类型。请参阅link对象的media属性(特性)。
 
示例:
 
// 设置显示器用字体尺寸
@media screen {
BODY {font-size:12pt; }
}
 
// 设置打印机用字体尺寸
@media print {
@import "print.css"
BODY {font-size:8pt;}
}
 
 
 
苏沈小雨制作·保留所有权利
&copy2001 rain1977.comer . All rights reserved . Terms of Use .
上一篇:下一篇: