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

          相關資源:DOM各屬性的描述和分類Javascript Tutorials

          以下內容轉自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



          版權所有 羅明
          posted on 2006-12-09 21:40 羅明 閱讀(1863) 評論(16)  編輯  收藏 所屬分類: JavaServerGoogle
          Comments
           
          主站蜘蛛池模板: 营山县| 都兰县| 泊头市| 靖边县| 沧源| 长泰县| 苍梧县| 师宗县| 泊头市| 老河口市| 永年县| 垦利县| 榆林市| 伽师县| 克拉玛依市| 陇南市| 宝兴县| 光山县| 芜湖县| 庐江县| 饶河县| 西城区| 阿坝县| 汝州市| 唐山市| 中江县| 巴林右旗| 竹北市| 获嘉县| 陇西县| 丹东市| 中牟县| 宜君县| 太原市| 榆树市| 湖北省| 全州县| 新丰县| 临武县| 章丘市| 淄博市|