自知其無知
          不懂,慢慢懂。
          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
          主站蜘蛛池模板: 含山县| 喜德县| 荆门市| 宜州市| 云南省| 新龙县| 邹平县| 盐池县| 安平县| 文昌市| 交城县| 宜兰市| 张北县| 定结县| 芷江| 鄱阳县| 忻城县| 洛川县| 绥江县| 疏勒县| 商洛市| 德州市| 揭西县| 浦江县| 阿尔山市| 辉南县| 和龙市| 彩票| 广元市| 黑龙江省| 永川市| 哈密市| 福鼎市| 图木舒克市| 盐源县| 精河县| 新河县| 乐平市| 泰和县| 嘉善县| 什邡市|