css:border width
Óï·¨£º
border-width : medium | thin | thick | length
²ÎÊý£º
medium : ¡¡Ä¬ÈÏ¿í¶È
thin : ¡¡Ð¡ÓÚĬÈÏ¿í¶È
thick : ¡¡´óÓÚĬÈÏ¿í¶È
length : ¡¡Óɸ¡µãÊý×ֺ͵¥Î»±êʶ·û×é³ÉµÄ³¤¶ÈÖµ¡£²»¿ÉΪ¸ºÖµ¡£Çë²ÎÔij¤¶Èµ¥Î»
˵Ã÷£º
Èç¹ûÌṩȫ²¿Ëĸö²ÎÊýÖµ£¬½«°´ÉÏ£Óңϣ×óµÄ˳Ðò×÷ÓÃÓÚËĸö±ß¿ò¡£
Èç¹ûÖ»Ìṩһ¸ö£¬½«ÓÃÓÚÈ«²¿µÄËÄÌõ±ß¡£
Èç¹ûÌṩÁ½¸ö£¬µÚÒ»¸öÓÃÓÚÉϣϣ¬µÚ¶þ¸öÓÃÓÚ×ó£ÓÒ¡£
Èç¹ûÌṩÈý¸ö£¬µÚÒ»¸öÓÃÓÚÉÏ£¬µÚ¶þ¸öÓÃÓÚ×ó£ÓÒ£¬µÚÈý¸öÓÃÓÚÏ¡£
ҪʹÓøÃÊôÐÔ£¬±ØÐëÏÈÉ趨¶ÔÏóµÄheight»òwidthÊôÐÔ£¬»òÕßÉ趨positionÊôÐÔΪabsolute¡£
Èç¹ûborder-styleÉèÖÃΪnone£¬±¾ÊôÐÔ½«Ê§È¥×÷Óá£
¶ÔÓ¦µÄ½Å±¾ÌØÐÔΪborderWidth¡£
ʾÀý£º
span { border-style: solid; border-width: thin; }
span { border-style: solid; border-width: 1px thin; }
thin midium thick
Ïà¹ØÎĵµ£º
!importantÓï·¨Õë¶ÔµÄÊÇ“ºóÃæµÄÊôÐÔ¸²¸ÇÇ°ÃæµÄÊôÐÔ”ÕâÒ»Óï·¨£¬Ò²¾ÍÊÇ˵±êʶÁË!importantµÄÊôÐÔ£¬ÊDz»±»ºóÃæµÄÏàͬÊôÐÔËù¸²¸ÇµÄ£¬¶øIE6²»ÈÏʶÕâ¸ö£¬µ¼ÖÂÆäËûä¯ÀÀÆ÷ºÜÈÝÒ׸ù¾ÝÕâµã“ÆÛ¸º”IE6£º
div{¡¡
¡¡¡¡¡¡¡¡text-decoration:overline;¡¡
¡¡¡¡¡¡¡¡*text-decoration:line-through!important;¡¡
¡ ......
/***************************by
garcon1986********************************/
¸ÐлCSDNµÄshan1119 °ïÎÒ½â¾öJavascript²¿·ÖµÄ´íÎó¡£
<mce:script language="JavaScript"><!--
function toggle(id,id2,id3) {
var state = document.getElementById(id).style.display;
if (state == 'block') {
......
ʾÀý£º´ËDIVΪ¹Ì¶¨¶¨Î»¶ÔÏó
ҪʹHTMLÔª¼þ¶¨Î»ÓÚä¯ÀÀÆ÷µÄij¸ö¹Ì¶¨Î»Ö㬶ø²»Ëæ¹ö¶¯Ìõ¹ö¶¯£¬ÓÃÒÔÏÂCSS´úÂë¼´¿É£¬¿ç¸÷¸öÖ÷Á÷ä¯ÀÀÆ÷£º POSITION: fixed! important; TOP: 100px; _position: absolute; _top: 40; _left: 100¡£
ʾÀý¼ûÓұ߻Ƶ׺ì×Ö¿é¡£ ......
body{
background-image:url(about:blank);
background-attachment:fixed;
}
.myDiv{
position:fixed !important;
position:absolute;
top:expression(eval(document.documentElement.scrollTop));
}
bodyÔªËØÖÐbackground-image:url(about:blank);background-attachment:fixed;¿É·ÀÖ¹ie6ÖгöÏÖÉÁ ......
ǰ̨div
Html´úÂë
<div id="DIV1" runat="server" >
</div>
ºǫ́:
C#´úÂë
this.DIV1.Style.Value = "display:none";
»òÕß:
C#´úÂë
DIV1.Attributes.CssStyle.Value = "display:none";
......