<span id="mktg5"></span>

<i id="mktg5"><meter id="mktg5"></meter></i>

        <label id="mktg5"><meter id="mktg5"></meter></label>
        最新文章專題視頻專題問答1問答10問答100問答1000問答2000關鍵字專題1關鍵字專題50關鍵字專題500關鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關鍵字專題關鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
        問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
        當前位置: 首頁 - 科技 - 知識百科 - 正文

        網頁制作中十個最好的CSShacks_經驗交流

        來源:懂視網 責編:小采 時間:2020-11-27 18:55:16
        文檔

        網頁制作中十個最好的CSShacks_經驗交流

        網頁制作中十個最好的CSShacks_經驗交流:If you are front end coder you must know how important is to make cross browses, valid CSS and xHTML code. And also you must know how much time we are spending in all those hacks and fixes for various browsers. I've written about some of th
        推薦度:
        導讀網頁制作中十個最好的CSShacks_經驗交流:If you are front end coder you must know how important is to make cross browses, valid CSS and xHTML code. And also you must know how much time we are spending in all those hacks and fixes for various browsers. I've written about some of th

        If you are front end coder you must know how important is to make cross browses, valid CSS and xHTML code. And also you must know how much time we are spending in all those hacks and fixes for various browsers. I've written about some of them earlier on PNG transparency issues, Yellow fields in web form, Vertical align div etc..

        Here is the list of 10 hand picked CSS hacks and tricks which can help you in your CSS code and also save some time.

        1. Vertical align div (垂直居中)

        http://stylizedweb.com/2008/02/01/vertical-align-div/

        2. Min-Height (最小高度)

        selector {
        min-height:500px;
        height:auto; !important
        height:500px;
        }

        3. PNG transparency (透明png)

        http://stylizedweb.com/2007/12/30/png-transparency-issues/

        4. Autoclear (自動清除)

        .container:after {
        content: “.”;
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
        }
        .container {display: inline-table;}
        /* Hides from IE-mac \*/
        * html .container {height: 1%;}
        .container {display: block;}
        /* End hide from IE-mac */

        5. Reset CSS (CSS重設)

        body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,
        fieldset,input,p,blockquote,th,td {
        margin:0; padding:0;
        }
        table {border-collapse:collapse;border-spacing:0;}
        fieldset,img {border:0;}
        address,caption,cite,code,dfn,em,strong,th,var {
        font-style:normal;font-weight:normal;
        }
        ol,ul {list-style:none;}
        caption,th {text-align:left;}
        h1,h2,h3,h4,h5,h6 {font-size:100%;}
        q:before,q:after {content:”;}

        6. Scrolling Render IE (IE滾動條渲染)

        html {
        background : url(null) fixed no-repeat;
        }

        7. Opacity (透明度)

        #transdiv {
        filter:alpha(opacity=75);
        -moz-opacity:.75;
        opacity:.75;
        }

        8. PRE Tag (標簽預格式)

        pre {
        white-space: pre-wrap; /* css-3 */
        white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
        white-space: -pre-wrap; /* Opera 4-6 */
        white-space: -o-pre-wrap; /* Opera 7 */
        word-wrap: break-word; /* Internet Explorer 5.5+ */
        }

        9. Li Background Repeat IE (LI標簽背景重復)



        10. Good to know (最好知道的)

        @charset “UTF-8″;

        /* ———————————————————————-
        WinIE7
        ———————————————————————- */
        *:first-child+html selector{property:value;}

        /* ———————————————————————-
        WinIE6 & Mac IE
        ———————————————————————- */
        * html selector{property:value;}

        /* ———————————————————————-
        WinIE6
        ———————————————————————- */
        /*\*/
        * html selector{property:value;}
        /**/

        /* ———————————————————————-
        MacIE
        ———————————————————————- */
        /*\*//*/
        selector{property:value;}
        /**/

        聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

        文檔

        網頁制作中十個最好的CSShacks_經驗交流

        網頁制作中十個最好的CSShacks_經驗交流:If you are front end coder you must know how important is to make cross browses, valid CSS and xHTML code. And also you must know how much time we are spending in all those hacks and fixes for various browsers. I've written about some of th
        推薦度:
        標簽: 10 設計 網頁
        • 熱門焦點

        最新推薦

        猜你喜歡

        熱門推薦

        專題
        Top
        主站蜘蛛池模板: 免费少妇a级毛片| 女人18毛片a级毛片免费视频| 在线观看人成网站深夜免费| 亚洲午夜视频在线观看| a级毛片免费观看视频| 亚洲日韩在线观看免费视频| 亚洲精品~无码抽插| 亚洲av无码片在线观看| 特黄aa级毛片免费视频播放| 麻豆成人久久精品二区三区免费| 国产精品深夜福利免费观看| 亚洲最新永久在线观看| 久久国产乱子免费精品| 在线a亚洲v天堂网2018| 亚洲videos| 成年女人免费v片| 亚洲AV美女一区二区三区| 亚洲AV无码一区二区三区网址| 成人性生免费视频| 亚洲国产区男人本色| 日本免费人成视频播放| 污污视频免费观看网站| 中文字幕亚洲无线码| 亚洲AV无码精品国产成人| 国产免费久久精品久久久| 日本高清免费中文在线看| 亚洲中文字幕无码一区二区三区| 一个人免费视频观看在线www| 免费v片视频在线观看视频| 暖暖免费中文在线日本| 亚洲av无码一区二区三区乱子伦 | 精品国产成人亚洲午夜福利| 夜夜嘿视频免费看| 男女污污污超污视频免费在线看| 中文字幕第13亚洲另类| 最好看最新的中文字幕免费| 在线观看亚洲AV日韩A∨| 亚洲av中文无码| 中文字幕免费视频一| 久久亚洲AV成人无码国产最大| 亚洲日韩精品无码一区二区三区|