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

CSS Ñùʽ

ÑùʽӦÓõij¡ºÏµ±È»ÊÇÍøÒ³ÎļþÖУ¬µ«ÊÇÈçºÎÈ¥ÔËÓÃÄØ£¿¿ÉÒÔ¼òµ¥µÄÕûÀíÒ»ÏÂ˼·¡£
selector ÓÐÈýÖÖÇé¿ö£¬ÄÚ²¿Ñùʽ£¬ÍⲿÑùʽ£¬ÄÚÁªÑùʽ¡£Ó﷨Ϊ
Selector { property: value }
¿ÉÒÔͨ¹ýÉèÖñêÇ©µÄstyleÊôÐÔÖÐÊéд£¬Í¨¹ýCLASSºÍIDÀ´¶¨Òå¡£
<link rel=stylesheet href="***/**.css" type="text/css">
ÈýÖÖ·½Ê½µÄÔËÓó¡ºÏ¸ú×÷Ó÷¶Î§ÒªÀí½â͸³¹¡£
ÄÚÁª£ºÖ»¶Ôij¸ö±êÇ©ÉúЧ
ÄÚ²¿£º¶ÔÓÚµ±Ç°ÍøÒ³ÖÐijһÀà±êÇ©ÉúЧ
Íⲿ£º¶ÔÓÚÓ¦Óõ½µÄ¶à¸öÍøÒ³ÖеÄijһÀà±êÇ©ÉúЧ
ÔÚ±àдµÄÑùʽÎļþÖпÉÒÔÌ×ÓñðÈËдºÃµÄÑùʽ¡£
@import url("ÑùʽÎļþ·¾¶¼°Ãû³Æ");
¹ØÓÚÑùʽµÄÿÖÖÊôÐÔµÄÉèÖÃûÓбØҪȥ¼Ç£¬ÔÚÓõÄʱºò¿ÉÒÔͨ¹ýÑùʽÉè¼ÆµÄ¹¤¾ßºÍ²ÎÕÕcssÊÖ²áÀ´½øÐÐÉè¼Æ¡£


Ïà¹ØÎĵµ£º

Css ͼ½âmargin ºÍ padding µÄÇø±ð

Css ͼ½âmargin ºÍ padding µÄÇø±ð
ÒÔÇ°³£³£ÒÔΪmargin ºÍ paddingµÄÇø±ð,¶øÀÏÊÇgoogle,ÏÖÔÚÀíÇåÁË...
ͼ½â:

margin : Ï൱ÓÚ×é¼þµÄ Íâ±ßÔµ ÓëÍⲿ×é¼þµÄ¾àÀë
padding : Ï൱ÓÚ×é¼þµÄ ÄÚ±ßÔµ ÓëÄÚ²¿×é¼þµÄ¾àÀë ......

¡¾CSS¡¿CSS Éè¼Æ¼¼ÇÉ£¨×ª£©

Ò».ʹÓÃcssËõд
ÒýÓÃÄÚÈÝ£º
ʹÓÃËõд¿ÉÒÔ°ïÖú¼õÉÙÄãCSSÎļþµÄ´óС£¬¸ü¼ÓÈÝÒ×ÔĶÁ¡£cssËõдµÄÖ÷Òª¹æÔòÈçÏ£º
ÑÕÉ«
16½øÖƵÄÉ«²ÊÖµ£¬Èç¹ûÿÁ½Î»µÄÖµÏàͬ£¬¿ÉÒÔËõдһ°ë£¬ÀýÈ磺
#000000¿ÉÒÔËõдΪ#000;#336699¿ÉÒÔËõдΪ#369;
ºÐ³ß´ç
ͨ³£ÓÐÏÂÃæËÄÖÖÊéд·½·¨:
property:value1; ±íʾËùÓб߶¼ÊÇÒ»¸öÖµvalue1£»
proper ......

¹ØÓÚ±íµ¥°´Å¥µÄcssÑùʽ´óÈ«

°´Å¥Ñùʽ*/
.ButtonCss {}{
    font-family: "Tahoma", "ËÎÌå";
    font-size:9pt; color: #003399;
    border: 1px #003399 solid;
    color:006699;
    BORDER-BOTTOM: #93bee2 1px solid;
    BORDER-LEFT: #9 ......

cssÔÚIE¡¢»ðºüϵļæÈÝÎÊÌâ


 
DIV£«CSSÍøÒ³²¼¾ÖÕâÊÇÒ»ÖÖÇ÷ÊÆ,ÎÒÒ²¿ªÊ¼Ë³Ó¦Õâ¹ÉÇ÷ÊÆÁË,²»¹ýÔÚʹÓÃDIV£«CSSÍøÕ¾Éè¼ÆµÄʱºò£¬Ó¦¸Ã×¢ÒâcssÑùʽ¼æÈݲ»Í¬ä¯ÀÀÆ÷ÎÊÌ⣬ÌرðÊǶÔÍêȫʹÓÃDIV CSSÉè¼ÆµÄÍøÒ³£¬¾ÍÓ¦¸Ã¸ü×¢ÒâIE6¡¢IE7¡¢FF¶ÔCSSÑùʽµÄ¼æÈÝ£¬²»È»£¬ÄãµÄÍøÒ³¿ÉÄÜÂÒµÄÒ»ËúºýÍ¿£¡ÎÒ¾­³£±»ÕâЩ¶«Î÷ÕûµÄ½¹Í·Àöî,ÓÚÊǺôÔÚÍøÉÏÕÒÁËЩ×ÊÁÏ,¼ÓÉÏ×Ô¼ºµ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ