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

          相關資源: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 羅明 閱讀(1865) 評論(16)  編輯  收藏 所屬分類: JavaServerGoogle
          Comments
           
          主站蜘蛛池模板: 衡阳市| 治县。| 卓尼县| 临澧县| 玛多县| 长葛市| 卢龙县| 西林县| 辽源市| 柳林县| 北票市| 邢台市| 晋城| 天气| 民丰县| 贺州市| 凤凰县| 云和县| 齐齐哈尔市| 云浮市| 高雄市| 共和县| 荥经县| 湘潭县| 涿鹿县| 壤塘县| 淮南市| 贵州省| 梅河口市| 彰化县| 麻城市| 科技| 崇左市| 保定市| 大余县| 红原县| 刚察县| 虹口区| 西华县| 微山县| 镇平县|