È«¹ú°§µ¿ÈÕÍøÒ³±ä»ÒÉ«µÄCSS´úÂë
¡¾¼ò ½é¡¿
Ϊ·½±ãÕ¾µã°§µ¿,ÌØÌṩcssÂ˾µ´úÂë,ÒÔ±í°§µ¿.ÒÔÏÂΪȫվCSS´úÂë
Ϊ·½±ãÕ¾µã°§µ¿,ÌØÌṩcssÂ˾µ´úÂë,ÒÔ±í°§µ¿.ÒÔÏÂΪȫվCSS´úÂë.
html { filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1); }
ʹÓ÷½·¨:Õâ¶Î´úÂë¿ÉÒÔ±äÍøҳΪºÚ°×,½«´úÂë¼Óµ½CSS×¶Ë¾Í¿ÉÒÔʵÏÖËØ×°.½¨ÒéÈ«¹úÕ¾³¤¶¯ÆðÀ´.ΪÔÚµØÕðÖÐÓöÄѵÄͬ°û°§µ¿.
Èç¹ûÍøվûÓÐʹÓÃCSS,¿ÉÒÔÔÚÍøÒ³/Ä£°åµÄHTML´úÂëºÍ Ö®¼ä²åÈë:
ÓÐһЩվ³¤µÄÍøÕ¾¿ÉÄÜʹÓÃÕâ¸öcss ²»ÄÜÉúЧ,ÊÇÒòΪÍøվûÓÐʹÓÃ×îеÄÍøÒ³±ê×¼ÐÒé
Ç뽫ÍøÒ³×îÍ·²¿µÄÌ滻ΪÒÔÉÏ´úÂë.
ÓÐһЩÍøÕ¾FLASH¶¯»µÄÑÕÉ«²»Äܱ»CSSÂ˾µ¿ØÖÆ,¿ÉÒÔÔÚFLASH´úÂëµÄºÍÖ®¼ä²åÈë:
×î¼òµ¥µÄ°ÑÒ³Ãæ±ä³É»ÒÉ«µÄ´úÂëÊÇÔÚhead Ö®¼ä¼Ó
Ò»°ãµÄdiscuzÂÛ̳ÔÚ ÄãµÄ¿ØÖÆcss ÎļþÏÂÐÞ¸Ä
/images/header/header.css Õâ¸öÎļþ,µãÔ´Âë¼´¿É¿´µ½.
»òÕß/templates/default/header.htm,Ò²¿ÉÒÔÖ±½Óµ½Ä£°åÎļþÏÂÐÞ¸Äheader.htm,¼ÓÈëÉÏÃæµÄ´úÂë.
¶¯ÍøÂÛ̳ÐÞ¸Ä:
DVBBS8.2֮ǰµÄÔÚ /Css/cndw/pub_cndw.css ÖÐÐÞ¸Ä
DVBBS8.2.XÔÚ/skins/default.cssÖÐÐÞ¸Ä
ÁíÔÚ°§µ¿ÈÕ»òÓöÄѵÄÐÂÎÅ,ËùÓÐרÌâºÍÖ÷Ìâ ͼƬÉϲ»ÄÜʹÓúìÉ«±êÌâ,¾¡Á¿ÓûÒÉ«.
Ïà¹ØÎĵµ£º
Ñ¡ÔñÆ÷ Óï·¨ ÃèÊö ʾÀý ±êÇ©Ñ¡ÔñÆ÷ E{ .....} ÒÔÎĵµÔªËØ×÷ΪѡÔñ·û td{font-size:14px;
......} IDÑ¡ÔñÆ÷ #ID{...} ÒÔÎĵµÔªËصÄΩһ± ......
ת×Ô£ºhttp://www.div-css.com/html/XHTML-CSS/hack/1136667.html
Çø±ð²»Í¬ä¯ÀÀÆ÷£¬CSS hackд·¨£º
Çø±ðIE6
ÓëFF
£º
background:orange
;*
background:blue
;
Çø±ðIE6
ÓëIE7
£º
background:green
!important
;background:blue
;
Çø±ðIE7
Ó ......
1.Çø±ðIEºÍ·ÇIEä¯ÀÀÆ÷
#tip {
background:blue; /*·ÇIE ±³¾°藍É«*/
background:red \9; /*IE6¡¢IE7¡¢IE8±³¾°紅É«*/
}
2.Çø±ðIE6,IE7,IE8,FF
¡¾Çø±ð·ûºÅ¡¿£º¡¸\9¡¹¡¢¡¸*¡¹¡¢¡¸_¡¹
¡¾Ê¾Àý¡¿£º
#tip {
background:blue; /*Firefox ±³¾°±äÀ¶É«*/
background:r ......