自知其無知
          不懂,慢慢懂。
          posts - 2,comments - 2,trackbacks - 0

           本章要點: 這個屬性經常用,但是我們要找出他的特點:visibility 屬性設置為 invisible 時,會占頁面空間但是 display 屬性不會占據空間。

          轉自: http://www.w3pop.com/learn/view/doc/pr_class_visibility/

          The visibility property sets if an element should be visible or invisible.
          visibility屬性可設置元素為可見還是不可見

          Note: Invisible elements takes up space on the page. Use the "display" property to create invisible elements that do not take up space.
          注意:不可見的元素會占據頁面的空間。可以使用"display"屬性來讓不可見的元素同時不占據頁面的空間

          Note: This property is used with scripts to create Dynamic HTML.
          注意:這個屬性經常在建立動態HTML的時候用到

          Inherited: No
          繼承性:無

          Example舉例

          p
          {
          visibility: visible
          }

          Possible Values
          可能用到的值

          Value 描述
          visible The element is visible
          元素可見
          hidden The element is invisible
          元素不可見
          collapse When used in table elements, this value removes a row or column, but it does not affect the table layout. The space taken up by the row or column will be available for other content. If this value is used on other elements, it renders as "hidden"
          當在表格元素中使用的時候,這個值可以移除一行或是一列,但它不會影響到表格的布局。被行或列所占據的空間對其他內容來說依然是有效的。如果這個值用到別的元素上它所反饋的效果就跟"hidden"一樣。

          posted on 2008-12-14 20:59 CopyHoo 閱讀(373) 評論(0)  編輯  收藏 所屬分類: Java Web
          主站蜘蛛池模板: 疏附县| 青冈县| 柳州市| 云南省| 扶风县| 黎川县| 竹溪县| 闸北区| 伊宁市| 奉化市| 祁阳县| 白朗县| 河间市| 阜阳市| 静安区| 嘉祥县| 镇坪县| 突泉县| 涞水县| 宁安市| 汝南县| 醴陵市| 弥渡县| 岳池县| 南丹县| 柳江县| 淮安市| 延吉市| 永年县| 民乐县| 黄龙县| 罗定市| 曲沃县| 荔浦县| 张家川| 卫辉市| 凤翔县| 正蓝旗| 光泽县| 云梦县| 陵水|