JavaScript文法——style.display 屬性

來源:互聯網
上載者:User
JavaScript文法——style.display 屬性來源:轉載   人氣:23136   錄入時間:2006-12-23

    display版本:CSS1/CSS2  相容性:IE4+ NS4+ 繼承性:無
   
   
   文法:
   
   display : block | none | inline | compact | marker | inline-table | list-item | run-in | table |table-caption | table-cell | table-column | table-column-group | table-footer-group | table-header-group | table-row | table-row-group
   
   參數:
   
   block :  CSS1 塊對象的預設值。用該值為對象之後添加新行
   none :  CSS1 隱藏對象。與visibility屬性的hidden值不同,其不為被隱藏的對象保留其物理空間
   inline :  CSS1 內聯對象的預設值。用該值將從對象中刪除行
   compact :  CSS2 指派至為塊對象或基於內容之上的內聯對象
   marker :  CSS2 指定內容在容器物件之前或之後。要使用此參數,對象必須和:after及:before 虛擬元素一起使用
   inline-table :  CSS2 將表格顯示為無前後換行的內聯對象或內聯容器
   list-item :  CSS1 將塊對象指定為清單項目。並可以添加可選項目標誌
   run-in :  CSS2 指派至為塊對象或基於內容之上的內聯對象
   table :  CSS2 將對象作為塊元素級的表格顯示
   table-caption :  CSS2 將對象作為表格標題顯示
   table-cell :  CSS2 將對象作為表格儲存格顯示
   table-column :  CSS2 將對象作為表格列顯示
   table-column-group :  CSS2 將對象作為表格列組顯示
   table-header-group :  CSS2 將對象作為表格標題組顯示
   table-footer-group :  CSS2 將對象作為表格腳註組顯示
   table-row :  CSS2 將對象作為表格行顯示
   table-row-group :  CSS2 將對象作為表格行組顯示
   
   說明:
   
   設定或檢索對象是否及如何顯示。
   目前 IE5.5僅支援以上CSS1的參數。
   對應的指令碼特性為display。請參閱我編寫的其他書目。 JavaScript文法——style.display 屬性display版本:CSS1/CSS2  相容性:IE4+ NS4+ 繼承性:無
   
   
   文法:
   
   display : block | none | inline | compact | marker | inline-table | list-item | run-in | table |table-caption | table-cell | table-column | table-column-group | table-footer-group | table-header-group | table-row | table-row-group
   
   參數:
   
   block :  CSS1 塊對象的預設值。用該值為對象之後添加新行
   none :  CSS1 隱藏對象。與visibility屬性的hidden值不同,其不為被隱藏的對象保留其物理空間
   inline :  CSS1 內聯對象的預設值。用該值將從對象中刪除行
   compact :  CSS2 指派至為塊對象或基於內容之上的內聯對象
   marker :  CSS2 指定內容在容器物件之前或之後。要使用此參數,對象必須和:after及:before 虛擬元素一起使用
   inline-table :  CSS2 將表格顯示為無前後換行的內聯對象或內聯容器
   list-item :  CSS1 將塊對象指定為清單項目。並可以添加可選項目標誌
   run-in :  CSS2 指派至為塊對象或基於內容之上的內聯對象
   table :  CSS2 將對象作為塊元素級的表格顯示
   table-caption :  CSS2 將對象作為表格標題顯示
   table-cell :  CSS2 將對象作為表格儲存格顯示
   table-column :  CSS2 將對象作為表格列顯示
   table-column-group :  CSS2 將對象作為表格列組顯示
   table-header-group :  CSS2 將對象作為表格標題組顯示
   table-footer-group :  CSS2 將對象作為表格腳註組顯示
   table-row :  CSS2 將對象作為表格行顯示
   table-row-group :  CSS2 將對象作為表格行組顯示
   
   說明:
   
   設定或檢索對象是否及如何顯示。
   目前 IE5.5僅支援以上CSS1的參數。
   對應的指令碼特性為display。請參閱我編寫的其他書目。

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.