Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

CSSÖеÄmarginÓëpaddingÓÐÊ²Ã´Çø±ðÄØ

margin Íâ±ß¾à
border ±ß¿ò
padding Äڱ߾à
Ò²¾ÍÊÇ˵ ÉèÖÃmargin ÄÇôËûËùÕ¼¾ÝµÄ¿Õ°×µØ·½»áÊÇÔڱ߿òÍâÃæ
ÉèÖÃpadding ËûËùÕ¼¾ÝµÄ¿Õ°×µØ·½ÊÇÔڱ߿òÀïÃæ
¶øÇÒÔÚIE6 һϵİ汾ÖÐ ´æÔÚÕâpadding ¼ÆËã´íÎóµÄBUG
CSS µÄ¿í¶ÈÊôÐÔ±¾À´ÊDz»°üº¬paddingµÄ µ«ÊÇ ÔÚieÏÂÃæÓеÄʱºò¿í¶ÈÊǰüº¬padding ËùÒÔ ½¨ÒéÔÚ²»ÊìϤCSS ÔÚ¶¨Î»µÄʱºò ¶¼ÓÃmarginÊôÐÔ


Ïà¹ØÎĵµ£º

css¶¨Î»µÄÇø±ð£ºrelative,absolute

Ê×ÏÈÒ»µãÐèÒªÖªµÀ£¬
ÿ¸öä¯ÀÀÆ÷¶¼ÓÐ×Ô¼ºÄ¬ÈϵÄĬÈÏÑùʽ£¬ÎªÁËÈÃÒ³ÃæÄÚÈÝÏÔʾÔÚä¯ÀÀÆ÷ÖÐËùÏ£ÍûµÄλÖ㬶ø²»ÊǼ̳ÐĬÈÏÑùʽ£¬¾ÍÐèÒªÔÚbodyÑ¡ÔñÆ÷ÖÐÖØÐÂÉ趨marginºÍpaddingµÄÊôÐÔÖµ¡£
ÈçÏÂËùʾ£º
body
{
 margin:0;
 border:0;
}
Æä´Î£¬Á·Ï°Ê±ÓÃÕâ¸öÀý×Ó£º
htmlÄÚÈÝ£º
<body >
 
 &nbs ......

CSS¶¨Î»

¶¨Î»Ò»Ö±ÊÇWEB±ê×¼Ó¦ÓÃÖеÄÄѵ㣬Èç¹ûÀí²»Çå³þ¶¨Î»ÄÇô¿ÉÄÜӦʵÏÖµÄЧ¹ûʵÏÖ²»ÁË£¬ÊµÏÖÁ˵ÄЧ¹û¿ÉÄÜ»á×ßÑù¡£Èç¹ûÀíÇåÁ˶¨Î»µÄÔ­Àí£¬ÄǶ¨Î»»áÈÃÍøÒ³ÊµÏֵĸü¼ÓÍêÃÀ¡£
¶¨Î»µÄ¶¨Ò壺
ÔÚCSSÖйØÓÚ¶¨Î»µÄÄÚÈÝÊÇ£ºposition:relative | absolute | static | fixed
static ûÓÐÌØ±ðµÄÉ趨£¬×ñÑ­»ù±¾µÄ¶¨Î»¹æ¶¨£¬²»ÄÜͨ¹ýz-index½ ......

ZigbeeÓëCSS¶¨Î»ÌØÐԱȽÏ

ת×Ô£ºhttp://blog.csdn.net/wellnode/archive/2010/03/24/5408943.aspx
ĿǰÔÚÊÐÃæÉÏÓжàÖÖ¶¨Î»ÏµÍ³£¬°üÀ¨
Zigbee
¡¢
WiFi
µÈ£¬ÒÔ¼°×îеÄ
CSS
¶¨Î»ÏµÍ³¡£´Ó¶¨Î»Ô­ÀíÉÏ·ÖÎö£¬Ò»°ãµÄ¶¨Î»ÏµÍ³¶¼¿ÉÒÔ¹éÄɵ½»ùÓÚʱ¼äµÄϵͳ¡¢»ùÓÚÐźÅÇ¿¶Èϵͳ£¬¶øÕâÁ½Ààϵͳ¶¼ÓÐן÷×ԵĹ²ÐÔ¡£ÏÂÃæÒÔÕâÁ½ÖÖϵͳµÄµäÐÍ´ú±í
CSS
ϵͳ£¨» ......

CSSÖÆ×÷ÍøÕ¾µ¼º½²Ëµ¥ÓÅÊÆ

²é¿´Ô­ÎÄ£ºhttp://www.csswang.com/css/110.html
µ¼º½½á¹¹ÔÚÍøÕ¾Éè¼ÆÖÐÊÇÆðµ½¾ö¶¨ÐÔ×÷Óõ쬵¼º½²Ëµ¥/À¸³£³£Í¨¹ýÑÕÉ«¡¢ÅŰ桢ÐÎ×´ºÍһЩͼƬÀ´°ïÖúÍøÕ¾´´Ôì¸üºÃµÄÊÓ¾õºÍ¸ÐÊÜ£¬ËüÊÇÍøÒ³Éè¼ÆµÄ¹Ø¼üÔªËØ¡£
¡¡¡¡ËäÈ»ÍøÕ¾µ¼º½²Ëµ¥µÄÍâ¹ÛÊÇÍøÒ³Éè¼ÆÖйØÏµµ½Õû¸öÉè¼Æ³É°ÜÓë·ñµÄ¹Ø¼ü£¬µ«ÊÓ¾õЧ¹ûÒ²²»ÄÜÓ°Ïìµ½ÍøÕ¾¿ÉÓÃÐÔ¡£×îÀíÏëµÄ ......

Ò³ÃæÔªËØ¾ÓÖÐ css»ñÈ¡Ò³ÃæÖÐÐÄλÖÃ

css»ñÈ¡Ò³ÃæÖÐÐÄλÖÃ
.fixed
{
FONT-SIZE: 30pt;
color : #1A6841;
left:expression(eval(document.body.clientWidth)/2-150);
top:expression(eval(document.body.clientHeight)/2-25);
width:300px;
height:50px;
border:green 1px solid;
background:#99CCFF;
+position:absolute;
+left:expression(ev ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ