CSS标签属性/属性参考这里列出了目前支持的样式表(CSS)标签属性。标有星号(*)的标签属性可于Microsoft®Explorer5中使用。标有两个星号(**)。带有两个加号(++)Explorer6中使用。如果某个标签属性或属性已经提交给万维网协会(W3C)但尚未作为标准发布,则标有“已提交”。若某个标签属性或属性既未提交给W3C也不是标准,将标有“扩展”。CSS标签属性/属性行为属性behavior字体和文本属性direction*directionfontfont-familyfont-sizefont-stylefont-variantfont-weightime-modelayout-gridlayout-grid-charlayout-grid-linelayout-grid-modelayout-grid-typeletter-spacingline-breakline-heightmin-height++ruby-alignruby-overhangruby-positiontext-aligntext-autospacetext-decorationtext-indenttext-justifytext-kashida-spacetext-overflow++ text-transformtext-underline-positionunicode-bidivertical-alignwhite-space**word-breakword-spacing++()word-wrapwriting-mode颜色和背景属性background-attachmentbackground-colorbackground-imagebackground-positionbackground-position-xbackground-position-ybackground-repeatcolor版面属性borderborder-bottomborder-bottom-colorborder-bottom-styleborder-bottom-widthborder-collapse*border-colorborder-leftborder-left-colorborder-left-styleborder-left-widthborder-rightborder-right-colorborder-right-styleborder-right-widthborder-styleborder-topborder-top-colorborder-top-styleborder-top-widthborder-widthclearfloatlayout-flowmarginmargin-bottommargin-leftmargin-rightmargin-toppaddingpadding-bottompadding-leftpadding-rightpadding-topscrollbar-3dlight-colorscrollbar-arrow-colorscrollbar-base-colorscrollbar-darkshadow-colorscrollbar-face-colorscrollbar-highlight-colorscrollbar-shadow-colortable-layout*zoom分类属性displaylist-stylelist-style-imagelist-style-positionlist-style-type定位属性bottom*clipheightleftoverflowoverflow-xoverflow-ypositionright*topvisibilitywidthz-index打印属性page**pageBreakAfterpageBreakBefore滤镜属性filter伪类和其它属性:******@charsetcursor:first-letter**:first-line*****@font-face:******@import!important:******@media****@page**:visited实现CSS图片边框效果的方法图片边框效果主要有两种,较简单的方法是直接在CSS文件中对img定义边界(border),例如我在CSS中定义了:{padding:6px;border:C;background-color:#FFF;}那么在HTML文件中,或者在blog更新的时候,针对嵌入的图片定义class="framed"就会有相应的边框效果。上面的方法的优点是比较简单,但实现
CSS 学习 来自淘豆网m.daumloan.com转载请标明出处.