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

zend framework ͼƬÒÔ¼°css·¾¶ÎÊÌâ

¸Õ¿ªÊ¼Ñ§Ï°zend framework £¬¶ÔÓÚ·¾¶ÎÊÌ⻹ÊÇûŪÃ÷°×£¬ÒÔÖÁÓÚͼƬ²»ÄÜÕý³£ÏÔʾ£¬ËѱéÁËGoogleÖÕÓÚÕÒµ½Ò»¸ö½â¾ö°ì·¨¡£¾ßÌå½â¾ö°ì·¨ÈçÏ£º
ÔÚ.htaccessÖÐÓÃÏÂÃæÕâ¶Î´úÂë´úÌæÔ­ÓдúÂë
# Zend Framework rewrite¹æÔò
RewriteEngine on
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteRule .* index.php
#
°²È«ÐÔ¿¼ÂÇ£º²»ÔÊÐíÁбíĿ¼ÄÚÈÝ
Options -Indexes
# PHPÉèÖÃ
php_flag magic_quotes_gpc
off
php_flag register_globals    off
php_flag short_open_tag     on
·ÃÎʵÄʱºò£º
ÀýÈ磺ÎÒµÄcss.cssÎļþÔÚpublic/cssÏÂÃ棬ÍøվĿ¼ÊÇÍøÕ¾¸ùĿ¼ÏÂÃæµÄwebapp
ÔòÔÚÄ£°åÎļþÖеÄcssÒýÓÃΪ£º
                                        ¾ø¶ÔÒýÓõØÖ·£º/webapp/public/css/css.css
                                      Ïà¶ÔÒýÓõØÖ·£ºµ±Ç°ä¯ÀÀÆ÷ÏÔʾµÄµØַΪ»ù׼Ŀ¼
                                                             È磺ÎÒÃÇÏÖÔÚ·ÃÎʵØַΪhttp://localhost/webapp/
                                                              
ÔòÎÒÃǵÄÏà¶ÔÒýÓõØַΪ£º¡£/public/css/css.css
    


Ïà¹ØÎĵµ£º

iframe ×ÔÊÊÓ¦¸ß¶È ¿í¶È È«css ʵÏÖ ÎÞ javascript

<html>
<body style="margin:0;">
<div>
    <table style="width:100%;height:100%"  cellpadding='0' cellspacing='0'>
    <tr>
        <td style="width:120px;background-color:Red">
   ......

CSSÍøÒ³²¼¾Öʱ³£·¸µÄ¼¸ÖÖС´íÎó

CSSÍøÒ³²¼¾Öʱ³£·¸µÄ¼¸ÖÖС´íÎó£º
¡¡¡¡1. ¼ì²éHTMLÔªËØÊÇ·ñÓÐƴд´íÎó¡¢ÊÇ·ñÍü¼Ç½áÊø±ê¼Ç
¡¡¡¡¼´Ê¹ÊÇÀÏÊÖÒ²¾­³£»áŪ´ídivµÄǶÌ×¹Øϵ¡£¿ÉÒÔÓÃdreamweaverµÄÑéÖ¤¹¦Äܼì²éÒ»ÏÂÓÐÎÞ´íÎó¡£
¡¡¡¡2. ¼ì²éCSSÊÇ·ñÊéдÕýÈ·
¡¡¡¡¼ì²éÒ»ÏÂÓÐÎÞƴд´íÎó¡¢ÊÇ·ñÍü¼Ç½áβµÄ } µÈ¡£¿ÉÒÔÀûÓÃCleanCSSÀ´¼ì²é CSS ......

cssÂ˾µ

/**
* 給結點Ìí¼Ó濾鏡
* 1.filterStyleÐÎʽ£ºÂ˾µÃû³Æ¼°ÆäºóµÄ²¿·Ö
* 2.Alpha Â˾µ£ºALPHA(opacity=opacity,finishopacity=finishopacity,style=style,startx=startx, starty=starty,finishx=finishx,finishy=finishy)}--͸Ã÷
* 3.Blur Â˾µ£ºBlur(add=add,direction=direct ......

ÍøÒ³¹ö¶¯ÌõCSSÑùʽ

¹ö¶¯ÌõÑùʽÖ÷ÒªÉæ¼°µ½ÈçÏÂCSSÊôÐÔ:
overflowÊôÐÔ: ¼ìË÷»òÉèÖõ±¶ÔÏóµÄÄÚÈݳ¬¹ýÆäÖ¸¶¨¸ß¶È¼°¿í¶ÈʱÈçºÎÏÔʾÄÚÈÝ
overflow: auto; ÔÚÐèҪʱÄÚÈÝ»á×Ô¶¯Ìí¼Ó¹ö¶¯Ìõ
overflow: scroll; ×ÜÊÇÏÔʾ¹ö¶¯Ìõ
overflow-x: hidden; ½ûÖ¹ºáÏòµÄ¹ö¶¯Ìõ
overflow-y: scroll; ×ÜÊÇÏÔʾ×ÝÏò¹ö¶¯Ìõ
width: 568px; width: 98%; ÉèÖÃÇøÓòµÄ ......

cssÔÚ²»Í¬ä¯ÀÀÆ÷ÖеÄд·¨

±ÈÈçÒª·Ö±æIE6ºÍfirefoxÁ½ÖÖä¯ÀÀÆ÷£¬¿ÉÒÔÕâÑùд£º
¡¡¡¡<style>
¡¡¡¡div{
¡¡¡¡background:green; /* for firefox */
¡¡¡¡*background:red; /* for IE6 */
¡¡¡¡}
¡¡¡¡</style>
¡¡¡¡ÎÒÔÚIE6Öп´µ½ÊǺìÉ«µÄ£¬ÔÚfirefoxÖп´µ½ÊÇÂÌÉ«µÄ¡£
¡¡¡¡½âÊÍһϣº
¡¡¡¡ÉÏÃæµÄcssÔÚfirefoxÖУ¬ËüÊÇÈÏʶ²»Á˺óÃæµÄÄǸö´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ