DD 元素 | dd 對(duì)象
DEL 元素 | del 對(duì)象
DHTML 對(duì)象
編程設(shè)置元素行為的默認(rèn)屬性。
成員表
標(biāo)簽屬性 屬性 描述 blockDirection 獲取表明塊元素內(nèi)容的繞排方向的值,是由左至右,還是由右至左。 canHaveHTML 獲取表明對(duì)象是否可以包含豐富的 HTML 標(biāo)簽的值。 CONTENTEDITABLE contentEditable 設(shè)置或獲取表明用戶是否可編輯對(duì)象內(nèi)容的字符串。 DISABLED disabled 設(shè)置或獲取控件的狀態(tài)。 isMultiLine 獲取表明對(duì)象的內(nèi)容是包含一行還是多行的值。 tabStop 設(shè)置或獲取元素行為是否可收到焦點(diǎn)并參與 Tab 序列。 viewInheritStyle 設(shè)置或獲取表明文檔片段是否繼承主文檔中設(shè)置的 CSS 樣式的值。 viewLink 設(shè)置或獲取給主元素提供內(nèi)容的 document 對(duì)象。 viewMasterTab 設(shè)置或獲取表明 viewlink 的主元素是否包含在主文檔的 Tab 序列中的值。
事件 描述 onbeforeeditfocus 在包含于可編輯元素內(nèi)的對(duì)象進(jìn)入用戶界面激活狀態(tài)前或可編輯容器變成控件選中區(qū)前觸發(fā)。
對(duì)象 描述 style 代表了給定元素所有可能的內(nèi)嵌樣式的當(dāng)前設(shè)置。
樣式標(biāo)簽屬性 樣式屬性 描述 ACCELERATOR accelerator 設(shè)置或獲取表明對(duì)象是否包含快捷鍵的字符串。 background background 設(shè)置或獲取對(duì)象最多五個(gè)獨(dú)立的背景屬性。 background-attachment backgroundAttachment 設(shè)置或獲取背景圖像如何附加到文檔內(nèi)的對(duì)象中。 background-color backgroundColor 設(shè)置或獲取對(duì)象內(nèi)容后的顏色。 background-image backgroundImage 設(shè)置或獲取對(duì)象的背景圖像。 background-position backgroundPosition 設(shè)置或獲取對(duì)象背景的位置。 background-position-x backgroundPositionX 設(shè)置或獲取 backgroundPosition 屬性的 x 坐標(biāo)。 background-position-y backgroundPositionY 設(shè)置或獲取 backgroundPosition 屬性的 y 坐標(biāo)。 background-repeat backgroundRepeat 設(shè)置或獲取對(duì)象的 backgroundImage 屬性如何平鋪。 behavior behavior 設(shè)置或獲取 DHTML 行為的位置。 border border 設(shè)置或獲取對(duì)象周圍邊框的繪制屬性。 border-bottom borderBottom 設(shè)置或獲取對(duì)象下邊框的屬性。 border-bottom-color borderBottomColor 設(shè)置或獲取對(duì)象下邊框的顏色。 border-bottom-style borderBottomStyle 設(shè)置或獲取對(duì)象下邊框的樣式。 border-bottom-width borderBottomWidth 設(shè)置或獲取對(duì)象下邊框的寬度。 border-color borderColor 設(shè)置或獲取對(duì)象的邊框顏色。 border-left borderLeft 設(shè)置或獲取對(duì)象左邊框的屬性。 border-left-color borderLeftColor 設(shè)置或獲取對(duì)象左邊框的顏色。 border-left-style borderLeftStyle 設(shè)置或獲取對(duì)象左邊框的樣式。 border-left-width borderLeftWidth 設(shè)置或獲取對(duì)象左邊框的寬度。 border-right borderRight 設(shè)置或獲取對(duì)象右邊框的屬性。 border-right-color borderRightColor 設(shè)置或獲取對(duì)象右邊框的顏色。 border-right-style borderRightStyle 設(shè)置或獲取對(duì)象右邊框的樣式。 border-right-width borderRightWidth 設(shè)置或獲取對(duì)象右邊框的寬度。 border-style borderStyle 設(shè)置或獲取對(duì)象上下左右邊框的樣式。 border-top borderTop 設(shè)置或獲取對(duì)象上邊框的屬性。 border-top-color borderTopColor 設(shè)置或獲取對(duì)象上邊框的顏色。 border-top-style borderTopStyle 設(shè)置或獲取對(duì)象上邊框的樣式。 border-top-width borderTopWidth 設(shè)置或獲取對(duì)象上邊框的寬度。 border-width borderWidth 設(shè)置或獲取對(duì)象上下左右邊框的寬度。 bottom bottom 設(shè)置或獲取對(duì)象相對(duì)于文檔層次中下個(gè)定位對(duì)象的底部的位置。 clear clear 設(shè)置或獲取對(duì)象是否允許在其左側(cè)、右側(cè)或兩邊放置浮動(dòng)對(duì)象,以防下段文本顯示在浮動(dòng)對(duì)象上。 clip clip 設(shè)置或獲取定位對(duì)象的哪個(gè)部分可見。 color color 設(shè)置或獲取對(duì)象文本的顏色。 cursor cursor 設(shè)置或獲取當(dāng)鼠標(biāo)指針指向對(duì)象時(shí)所使用的鼠標(biāo)指針。 direction direction 設(shè)置或獲取對(duì)象的閱讀順序。 display display 設(shè)置或獲取對(duì)象是否要渲染。 font font 設(shè)置或獲取對(duì)象最多六個(gè)獨(dú)立的字體屬性。 font-family fontFamily 設(shè)置或獲取對(duì)象文本所使用的字體名稱。 font-size fontSize 設(shè)置或獲取對(duì)象文本使用的字體大小。 font-style fontStyle 設(shè)置或獲取對(duì)象的字體樣式,如斜體、常規(guī)或傾斜。 font-variant fontVariant 設(shè)置或獲取對(duì)象文本是否以小型大寫字母顯示。 font-weight fontWeight 設(shè)置或獲取對(duì)象的字體寬度。 layout-grid layoutGrid 設(shè)置或獲取指定文本字符版面的組合文檔格線屬性。 layout-grid-mode layoutGridMode 設(shè)置或獲取文本布局網(wǎng)格是否使用二維。 left left 設(shè)置或獲取對(duì)象相對(duì)于文檔層次中下個(gè)定位對(duì)象的左邊界的位置。 letter-spacing letterSpacing 設(shè)置或獲取對(duì)象的字符間附加空間的總和。 line-height lineHeight 設(shè)置或獲取對(duì)象兩行間的距離。 margin margin 設(shè)置或獲取對(duì)象的上下左右邊距。 margin-bottom marginBottom 設(shè)置或獲取對(duì)象的下邊距寬度。 margin-left marginLeft 設(shè)置或獲取對(duì)象的左邊距寬度。 margin-right marginRight 設(shè)置或獲取對(duì)象的右邊距寬度。 margin-top marginTop 設(shè)置或獲取對(duì)象的上邊距寬度。 overflow overflow 設(shè)置或獲取表明當(dāng)內(nèi)容超出對(duì)象高度或?qū)挾葧r(shí)如何管理對(duì)象內(nèi)容的值。 overflow-x overflowX 設(shè)置或獲取當(dāng)內(nèi)容超出對(duì)象寬度時(shí)如何管理對(duì)象內(nèi)容。 overflow-y overflowY 設(shè)置或獲取當(dāng)內(nèi)容超出對(duì)象高度時(shí)如何管理對(duì)象內(nèi)容。 padding padding 設(shè)置或獲取要在對(duì)象和其邊距或若存在的邊框的話就是對(duì)象和其邊框之間要插入的全部空間。 padding-bottom paddingBottom 設(shè)置或獲取要在對(duì)象下邊框和內(nèi)容之間插入的空間總量。 padding-left paddingLeft 設(shè)置或獲取要在對(duì)象左邊框和內(nèi)容之間插入的空間總量。 padding-right paddingRight 設(shè)置或獲取要在對(duì)象右邊框和內(nèi)容之間插入的空間總量。 padding-top paddingTop 設(shè)置或獲取對(duì)象上邊框和內(nèi)容之間插入的空間總量。 pixelBottom 設(shè)置或獲取對(duì)象的下方位置。 pixelHeight 設(shè)置或獲取對(duì)象的高度。 pixelLeft 設(shè)置或獲取對(duì)象的左側(cè)位置。 pixelRight 設(shè)置或獲取對(duì)象的右側(cè)位置。 pixelTop 設(shè)置或獲取對(duì)象的上方位置。 pixelWidth 設(shè)置或獲取對(duì)象的寬度。 posBottom 設(shè)置或獲取以 bottom 標(biāo)簽屬性指定的單位的對(duì)象下方位置。 posHeight 設(shè)置或獲取以 height 標(biāo)簽屬性指定的單位的對(duì)象高度。 position position 設(shè)置或獲取對(duì)象所使用的定位方式。 posLeft 設(shè)置或獲取以 left 標(biāo)簽屬性指定的單位的對(duì)象左側(cè)位置。 posRight 設(shè)置或獲取以 right 標(biāo)簽屬性指定的單位的對(duì)象右側(cè)位置。 posTop 設(shè)置或獲取以 top 標(biāo)簽屬性指定的單位的對(duì)象上方位置。 posWidth 設(shè)置或獲取以 width 標(biāo)簽屬性指定的單位的對(duì)象寬度。 scrollbar-3dlight-color scrollbar3dLightColor 設(shè)置或獲取滾動(dòng)條上滾動(dòng)按鈕和滾動(dòng)滑塊的左上顏色。 scrollbar-arrow-color scrollbarArrowColor 設(shè)置或獲取滾動(dòng)箭頭標(biāo)識(shí)的顏色。 scrollbar-base-color scrollbarBaseColor 設(shè)置或獲取滾動(dòng)條的主要顏色,其中包含滾動(dòng)按鈕和滾動(dòng)滑塊。 scrollbar-darkshadow-color scrollbarDarkShadowColor 設(shè)置或獲取滾動(dòng)條上滑槽的顏色。 scrollbar-face-color scrollbarFaceColor 設(shè)置或獲取滾動(dòng)條和滾動(dòng)條的滾動(dòng)箭頭的顏色。 scrollbar-highlight-color scrollbarHighlightColor 設(shè)置或獲取滾動(dòng)框和滾動(dòng)條滾動(dòng)箭頭的左上邊緣顏色。 scrollbar-shadow-color scrollbarShadowColor 設(shè)置或獲取滾動(dòng)框和滾動(dòng)條滾動(dòng)箭頭的右下邊緣顏色。 scrollbar-track-color scrollbarTrackColor 設(shè)置或獲取滾動(dòng)條軌跡元素的顏色。 float styleFloat 設(shè)置或獲取文本要繞排到對(duì)象的哪一側(cè)。 text-autospace textAutospace 設(shè)置或獲取自動(dòng)留空和文本的窄空間寬度調(diào)整。 text-decoration textDecoration 設(shè)置或獲取對(duì)象中的文本是否有閃爍、刪除線、上劃線或下劃線的樣式。 textDecorationBlink 設(shè)置或獲取表明對(duì)象的 textDecoration 屬性是否含有有“blink”的 Boolean 值。 textDecorationLineThrough 設(shè)置或獲取表明對(duì)象內(nèi)的文本是否有刪除線的 Boolean 值。 textDecorationNone 設(shè)置或獲取表明對(duì)象的 textDecoration 屬性是否設(shè)置為 none 的 Boolean 值。 textDecorationOverline 設(shè)置或獲取表明對(duì)象中的文本是否有上劃線的 Boolean 值。 textDecorationUnderline 設(shè)置或獲取對(duì)象中的文本是否有下劃線的 Boolean 值。 text-overflow textOverflow 設(shè)置或獲取表明是否顯示省略號(hào)以表明文本溢出的值。 text-transform textTransform 設(shè)置或獲取對(duì)象中文本的渲染方式。 top top 設(shè)置或獲取對(duì)象相對(duì)于文檔層次中下個(gè)定位對(duì)象的上邊界的位置。 unicode-bidi unicodeBidi 設(shè)置或獲取關(guān)于雙向法則的嵌入級(jí)別。 vertical-align verticalAlign 設(shè)置或獲取對(duì)象的垂直排列。 visibility visibility 設(shè)置或獲取對(duì)象的內(nèi)容是否顯示。 z-index zIndex 設(shè)置或獲取定位對(duì)象的堆疊次序。
注釋
PUBLIC:DEFAULTS 元素是 defaults 對(duì)象的聲明方式。
此對(duì)象在 Microsoft® Internet Explorer 5.5 的腳本中可用。
標(biāo)準(zhǔn)信息
沒有應(yīng)用于此對(duì)象的公共標(biāo)準(zhǔn)。