cssÖÐ displayÊôÐÔºÍvisibilityµÄÇø±ð
display Property Values
ValueDescription
none
The element will generate no box at all
block
The element will generate a block box (a line break before and after the element)
inline
The element will generate an inline box (no line break before or after the element). This is default
inline-block
The element will generate a block box, laid out as an inline box
inline-table
The element will generate an inline box (like <table>, with no line break before or after)
list-item
The element will generate a block box, and an inline box for the list marker
run-in
The element will generate a block or inline box, depending on context
table
The element will behave like a table (like <table>, with a line break before and after)
table-caption
The element will behave like a table caption (like <caption>)
table-cell
The element will behave like a table cell
table-column
The element will behave like a table column
table-column-group
The element will behave like a table column group (like <colgroup>)
table-footer-group
The element will behave like a table footer row group
table-header-group
The element will behave like a table header row group
table-row
The element will behave like a table row
table-row-group
The element will behave like a table row group
inherit
Specifies that the value of the display property should be inherited from the parent element
visibility Property Values
ValueDescription
visible
The element is visible. This is default
hidden
The element is invisible (but still takes up space)
collapse
Only for table elements. collapse 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 collapse is used on other elements, it renders as "hidden"
inherit
Specifies that the value of the visibility property should be inherited from the parent element
We can know from above:
visibility: hidden hides the element, but it
Ïà¹ØÎĵµ£º
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>¹Ì¶¨±íÍ·ºÍÁÐ</title>
<style>
.FixedTitleRow
......
¸÷µØ°§µ¿ÓñÊ÷µØÕðÓöÄÑͬ°ûh1
¸÷µØ°§µ¿ÓñÊ÷µØÕðÓöÄÑͬ°û32px
¸÷µØ°§µ¿ÓñÊ÷µØÕðÓöÄÑͬ°ûh2
¸÷µØ°§µ¿ÓñÊ÷µØÕðÓöÄÑͬ°û24px
¸÷µØ°§µ¿ÓñÊ÷µØÕðÓöÄÑͬ°ûh3
¸÷µØ°§µ¿ÓñÊ÷µØÕðÓöÄÑͬ°û18px
¸÷µØ°§µ¿ÓñÊ÷µØÕðÓöÄÑͬ°ûh4
¸÷µØ°§µ¿ÓñÊ÷µØÕðÓöÄÑͬ°û16px
¸÷µØ°§µ¿ÓñÊ÷µØÕðÓöÄÑͬ°ûh5
¸÷µØ°§µ¿ÓñÊ÷µØÕðÓöÄÑͬ°û13px
¸÷µØ°§µ¿Óñ ......
ת×Ô£ºhttp://www.linji.cn/post/1595/
ÓÃCSSÈÃÔªËؾÓÖÐÏÔʾ²¢²»ÊǼþºÜ¼òµ¥µÄÊÂÇ闗ͬÑùµÄºÏ·¨CSS¾ÓÖÐÉèÖÃÔÚ²»Í¬µÄä¯ÀÀÆ÷ÖеıíÏÖÐÐΪȴ¸÷ÓÐǧÇï¡£ÔÚÕâÀÎÒ½éÉÜÒ»ÖֺܺõľÓÖд¦Àí°ì·¨£¬µ«Õâ֮ǰ£¬ÈÃÎÒÃÇÏÈÀ´¿´¿´×î³£¼ûµÄʹÓÃCSS¾ÓÖÐÔªËصķ½·¨¡£
ʹÓÃ×Ô¶¯Íâ±ß¾àʵÏÖ¾ÓÖÐ
CSS
ÖÐÊ×Ñ¡µÄÈÃÔªËØˮƽ¾ÓÖеķ ......
±ÈÈ磺
<div class="row" id="form_domain_container">
<label for="domain">ÓòÃû:</label>
<input name="domain" value="<{$do->domain_name|escape}>" type="text" id="domain" size="35" maxlength= ......