cssÑùʽÒýÓÃʵÀý
//cssÑùʽµÄÊéд
//ÔªËØID
#tb1{width:100%;height:80px;background-color:#FFD700;padding:4px;font-family:verdana,tahoma;font-weight:bold;}
#tb2{width:100%;padding:4px;font-family:verdana,tahoma;margin:12px
0px 0px 0px;background-color:#EEEEEE;font-weight:bold;}
//Àà
.test{cursor:hand;
border-right: white thin inset;
border-top: black thin inset;
border-left: black thin inset;
border-bottom: white thin
inset;
}
.post1
{
cursor:move; background:red;
color:Navy; border-right: black thin inset;
}
//ÔªËØ
body
{
background-color:Gray:
}
//cssÑùʽµÄÔËÓÃ
<html>
<head
runat="server">
<title>ÎÞ±êÌâÒ³</title>
//ÒýÈëcssÑùʽÎļþ
<link type ="text/css"
rel = "stylesheet" href = StyleSheet.css />
</head>
//ÑùÊ½ÔªËØµÄÓ¦Óã¬ÔªËØÃû×ÖÏàͬ×Ô¶¯Ì×ÓÃ
<body>
<form id="form1" runat="server">
<div>
//ÑùÊ½ÔªËØIDµÄÓ¦ÓÃ
<table id = "tb1"
border = 1; type = "font-size;13pt; align;center;">
<tr>
//×Ô¼ºÊ¹ÓÃcssÑùʽstyle=Ñùʽ
<td style="width:
134px; height: 19px">dsfdf</td>
</tr>
</table>
</div>
<table id = "tb2"
style="width: 1
Ïà¹ØÎĵµ£º
ÎÒÔÚwww.c09.com ·¢±íÁËÕâ¸ö±Ê¼Ç²¢ÉÏ´«ÁËÔÖøµÄPDF£¬½ñÌìÓпգ¬×ªµ½BLOGÉÏÀ´¡£
µÚÆßÕÂ ²¼¾Ö
ËùÓÐCSS²¼¾Ö¼¼Êõ¶¼ÒÀÀµÓÚÈý¸ö»ù±¾¸ÅÄ¶¨Î»¡¢¸¡¶¯ºÍ¿Õ°×±ß²Ù×Ý
7.1 ÈÃÉè¼Æ¾ÓÖÐ[code]
<body>
<div id='wrapper'>
</div>
</body>
/*×îÃ÷Á˵ľÓÖз½°¸£¬¿ÉϧIE6²»Ö§³Ö*/
#wrapper{
  ......
1. css ×ÖÌå¼òд¹æÔò
µ±Ê¹ÓÃcss¶¨Òå×ÖÌåʱÄã¿ÉÄÜ»áÕâÑù×ö£º
font-size: 1em;
line-height: 1.5em;
font-weight: bold;
font-style: italic;
font-variant: small-caps;
font-family: verdana,serif;
ÊÂʵÉÏÄã¿ÉÒÔ¼òдÕâЩÊôÐÔ£º
font: 1em/1.5em bold italic small-caps verdana,serif
font: bold ital ......
Ò»£ºÖ±½ÓÉèÖÃ
¶þ£º»ÃæÉÏÉèÖãº
È磺
<mx:Style>
TextArea{
font-size:36px
font-weight: bold
}
</mx:Style>
Èý£ºÊ¹ÓÃÍâÖÃÎļþ
<mx:Style source="style.csss"/> ......
ת×Ô£ºhttp://www.linji.cn/post/1595/
ÓÃCSSÈÃÔªËØ¾ÓÖÐÏÔʾ²¢²»ÊǼþºÜ¼òµ¥µÄÊÂÇ闗ͬÑùµÄºÏ·¨CSS¾ÓÖÐÉèÖÃÔÚ²»Í¬µÄä¯ÀÀÆ÷ÖеıíÏÖÐÐΪȴ¸÷ÓÐǧÇï¡£ÔÚÕâÀÎÒ½éÉÜÒ»ÖֺܺõľÓÖд¦Àí°ì·¨£¬µ«Õâ֮ǰ£¬ÈÃÎÒÃÇÏÈÀ´¿´¿´×î³£¼ûµÄʹÓÃCSS¾ÓÖÐÔªËØµÄ·½·¨¡£
ʹÓÃ×Ô¶¯Íâ±ß¾àʵÏÖ¾ÓÖÐ
CSS
ÖÐÊ×Ñ¡µÄÈÃÔªËØË®Æ½¾ÓÖеķ ......