web開發技術點解析

來源:互聯網
上載者:User

標籤:html   web開發   

一.控制項篇

1.radio控制項

    在建立單選控制項時,要做到多個radio有單選功能,必須把多個radio的name屬性值設定為相同的,否則,多個radio之間是沒有聯絡的。

 

二.樣式篇

1.擷取圖片中的部分圖片

    background: transparent url(tupian.gif) 0px -50px no-repeat;

2.外邊線式樣

    outline-style:solid;outline-color:#CDE6FE;

3.橫向顯示

    display:inline;

4.設定圓角

    border-radius:0.3em 0.3em 0.3em 0.3em;

5.設定透過png圖片背景

    .pngholder{position:relative;top:0px;left:600px;width:100px;height:100px;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=‘tupian.png‘);}

    .pngalpha{position:relative;filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);background:url(tupian.png) no-repeat;width:100px;height:100px;}

    引用方法:<div class="pngholder"><div class="pngalpha"></div></div>

 

web開發技術點解析

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.