最近在做一個GWT項目,很多界面樣式都要通過CSS來做,以前沒怎么用過,學(xué)的也不多—_—!,在網(wǎng)上Google論壇里找了找CSS的帖子,搜刮到一個CSS屬性列表,還有對應(yīng)的JS DOM屬性映射。可以當(dāng)作手冊查查。。。

          相關(guān)資源:DOM各屬性的描述和分類,Javascript Tutorials

          以下內(nèi)容轉(zhuǎn)自http://codepunk.hardwar.org.uk/css2js.htm,或者 查看中文版本

          CSS Properties To JavaScript Reference Conversion

          CSS PropertyJavaScript Reference
          backgroundbackground
          background-attachmentbackgroundAttachment
          background-colorbackgroundColor
          background-imagebackgroundImage
          background-positionbackgroundPosition
          background-repeatbackgroundRepeat
          borderborder
          border-bottomborderBottom
          border-bottom-colorborderBottomColor
          border-bottom-styleborderBottomStyle
          border-bottom-widthborderBottomWidth
          border-colorborderColor
          border-leftborderLeft
          border-left-colorborderLeftColor
          border-left-styleborderLeftStyle
          border-left-widthborderLeftWidth
          border-rightborderRight
          border-right-colorborderRightColor
          border-right-styleborderRightStyle
          border-right-widthborderRightWidth
          border-styleborderStyle
          border-topborderTop
          border-top-colorborderTopColor
          border-top-styleborderTopStyle
          border-top-widthborderTopWidth
          border-widthborderWidth
          clearclear
          clipclip
          colorcolor
          cursorcursor
          displaydisplay
          filterfilter
          fontfont
          font-familyfontFamily
          font-sizefontSize
          font-variantfontVariant
          font-weightfontWeight
          heightheight
          leftleft
          letter-spacingletterSpacing
          line-heightlineHeight
          list-stylelistStyle
          list-style-imagelistStyleImage
          list-style-positionlistStylePosition
          list-style-typelistStyleType
          marginmargin
          margin-bottommarginBottom
          margin-leftmarginLeft
          margin-rightmarginRight
          margin-topmarginTop
          overflowoverflow
          paddingpadding
          padding-bottompaddingBottom
          padding-leftpaddingLeft
          padding-rightpaddingRight
          padding-toppaddingTop
          page-break-afterpageBreakAfter
          page-break-beforepageBreakBefore
          positionposition
          floatstyleFloat
          text-aligntextAlign
          text-decorationtextDecoration
          text-decoration: blinktextDecorationBlink
          text-decoration: line-throughtextDecorationLineThrough
          text-decoration: nonetextDecorationNone
          text-decoration: overlinetextDecorationOverline
          text-decoration: underlinetextDecorationUnderline
          text-indenttextIndent
          text-transformtextTransform
          toptop
          vertical-alignverticalAlign
          visibilityvisibility
          widthwidth
          z-indexzIndex


          Technorati Tag: CSSdomjavascript



          版權(quán)所有 羅明
          posted on 2006-12-09 21:40 羅明 閱讀(1863) 評論(16)  編輯  收藏 所屬分類: Java 、Server 、Google
          Comments
           
          主站蜘蛛池模板: 苍南县| 比如县| 谷城县| 西昌市| 库车县| 沭阳县| 循化| 泗水县| 枣强县| 固镇县| 格尔木市| 辽阳市| 青冈县| 如皋市| 桦南县| 德安县| 苏尼特右旗| 沅江市| 黄山市| 科技| 江安县| 延吉市| 丰镇市| 巴里| 进贤县| 吉木萨尔县| 阳新县| 金塔县| 通许县| 垣曲县| 平顶山市| 商城县| 宕昌县| 西城区| 新乡县| 苏州市| 洞头县| 石棉县| 图木舒克市| 长丰县| 玉环县|