<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∨片无码加勒比| 理论亚洲区美一区二区三区| 亚洲黄色三级视频| 色天使亚洲综合一区二区| 中文字幕影片免费在线观看 | 全免费毛片在线播放| 免费午夜爽爽爽WWW视频十八禁| 亚洲国产精品第一区二区| 国产AV无码专区亚洲AV琪琪| 91精品国产免费| 亚洲精品WWW久久久久久| 亚洲国产精品美女| a级毛片毛片免费观看久潮喷| 日本不卡在线观看免费v| 亚洲精品一区二区三区四区乱码 | 久久国产精品免费| 国产成人免费全部网站| 亚洲国产精品综合久久2007| 在线观看特色大片免费视频 | 亚洲免费在线播放| 久久99国产亚洲高清观看首页| 美女扒开尿口给男人爽免费视频 | 亚洲国产成人久久| 中文字幕视频在线免费观看| 久久精品夜色国产亚洲av| 男男gay做爽爽免费视频| 浮力影院亚洲国产第一页| 无码日韩人妻AV一区免费l| 日韩视频免费在线| aa午夜免费剧场| 亚洲国产一成久久精品国产成人综合| 免费国产高清毛不卡片基地| 国产一精品一aⅴ一免费| 亚洲精品无码少妇30P| 亚洲国产午夜中文字幕精品黄网站| 免费国产午夜高清在线视频| 国产成A人亚洲精V品无码性色| 最近中文字幕无免费| 久久久亚洲精华液精华液精华液| 香蕉高清免费永久在线视频 | 中文字幕无码日韩专区免费 |