css³£ÓÃС¼Ç
×ÖÐÍ
ÎÄ×Ö顏É«
color: #000;
ÎÄ×Ö´óС
font-size: 8pt;
ÎÄ×Ö×Ö體
font-family: “arial”, dotum;
ÎÄ×Öб體
font-style: italic;
С×Ö體
font-variant: small-caps;
×Ö間¾à離
letter-spacing: 1pt;
Ðиß
line-height: 15px; (Òà¿É為°Ù·Ö±È)
ÎÄ×Ö´Ö體
font-weight: bold;
¼Óµ×線
text-decoration: underline;
¼Ó刪³ý線
text-decoration: line-through;
¼Ó頂線
text-decoration: overline;
刪³ý連線µ×線
text-decoration: none;
Ê××Ö´ó寫
text-transform: capitalize;
Ó¢ÎÄ´ó寫
text-transform: uppercase;
Ó¢ÎÄС寫
text-transform: lowercase;
ÎÄ×Ö¿¿×ó
text-align: left;
ÎÄ×Ö¿¿ÖÐ
text-align: center;
ÎÄ×Ö¿¿ÓÒ
text-align: right;
ÎÄ×Ö·ÖÉ¢對齊
text-align: justify;
±³¾°
±³¾°顏É«
background: #e9e9e9;
±³¾°圖Ƭ²»ÖØ複
background: url(圖Ƭλַ) no-repeat;
±³¾°ÖØ複
background: url(圖Ƭλַ) repeat;
±³¾°Y軸ÖØ複
background: url(圖Ƭλַ) repeat-y;
±³¾°X軸ÖØ複
background: url(圖Ƭλַ) repeat-x;
±³¾°¸¡Ë®Ó¡¹Ì¶¨
background: url(圖Ƭλַ) fixed;
±³¾°ÖÃÖÐ
background-position: center;
±³¾°¿¿×ó
background-position: left;
±³¾°¿¿ÓÒ
background-position: right;
±³¾°¿¿ÉÏ
background-position: top;
±³¾°¿¿ÏÂ
background-position: bottom;
簡Ò×寫·¨
background: url(λַ) no-repeat top center fixed #fff;
¡ñ備註£ºÎ»Ö·請記µÃ²»ÊÇ複製ÉÏ·½µÄ網Ö·£¬¶øÊÇÔÚ圖ƬÉÏ·½°´ÓÒ鍵內ÈÝ裡µÄÄÇ個網Ö·£¡
¿ò線
È«¿ò線
border: 1px solid #000;
ÉÏ¿ò線
border-top: 1px solid #000;
Ï¿ò線
border-bottom: 1px solid #000;
ÓÒ¿ò線
border-right: 1px solid #000;
×ó¿ò線
border-left: 1px solid #000;
¿ò線種類
solid Ö±線
dotted 點線
dashed 虛線
double 雙線
groove Á¢體內͹
Ïà¹ØÎĵµ£º
¼õÉÙÍøÕ¾HTTPÇëÇóÕâÊǼӿìÍøÕ¾·ÃÎÊËٶȵĹؼü£¬¶øCSS sprites¼¼ÊõÊǰѶàÕÅͼÏñ×éºÏ³ÉÒ»ÕÅͼÏñ£¬ÕâÑùÓû§ÔÚ·ÃÎÊÍøվʱһ´ÎÐ԰ѶàÕÅͼƬ¼ÓÔØÍ꣬¶ø²»ÐèÒªÒ»ÕÅÕÅͼƬµÄ¼ÓÔØ£¬ÕâÑù¼õÉÙÁË×é¼þµÄÒ³Â룬½¨Á¢¸ü·á¸»µÄÄÚÈݵÄÍøÕ¾£¬Í¬Ê±Ò²È¡µÃÁË¿ìËٵķ´Ó¦
ʱ¼ä¡£
&n ......
!importantÓï·¨Õë¶ÔµÄÊÇ“ºóÃæµÄÊôÐÔ¸²¸ÇÇ°ÃæµÄÊôÐÔ”ÕâÒ»Óï·¨£¬Ò²¾ÍÊÇ˵±êʶÁË!importantµÄÊôÐÔ£¬ÊDz»±»ºóÃæµÄÏàͬÊôÐÔËù¸²¸ÇµÄ£¬¶øIE6²»ÈÏʶÕâ¸ö£¬µ¼ÖÂÆäËûä¯ÀÀÆ÷ºÜÈÝÒ׸ù¾ÝÕâµã“ÆÛ¸º”IE6£º
div{¡¡
¡¡¡¡¡¡¡¡text-decoration:overline;¡¡
¡¡¡¡¡¡¡¡*text-decoration:line-through!important;¡¡
¡ ......
Àý×Ó£º<span style="cursor:*">Îı¾»òÆäËüÒ³ÃæÔªËØ</span> <a href="#" style="cursor:*">Îı¾»òÆäËüÒ³ÃæÔªËØ</a> ×¢Òâ°Ñ * »»³ÉÈçÏÂ15¸öЧ¹ûµÄÒ»ÖÖ£º
ÏÂÃæÊǶÔÕâ15ÖÖЧ¹ûµÄ½âÊÍ¡£Òƶ¯Êó±êµ½½âÊÍÉÏÃ棬¿´¿´ÄãµÄÊó±êÆðÁËʲô±ä»¯°É£¡
handÊÇÊÖÐÍ
Àý×Ó£ºCSSÊó±êÊÖÐÍЧ¹û <a ......