html select 下拉箭頭隱藏


html select 下拉箭頭隱藏

<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <style type="text/css">
        .width5 {
            width: 122px;
        }
        .width7
        {
            width: 142px;
        }
        .DivSelect
        {
            float:left;
            position: relative;
            background:url(../img/his2-sel.jpg) no-repeat;

            height: 32px;
            line-height: 32px;
            overflow: hidden; /*隱藏了小三角,寬度為比select寬度少20px*/
            border-width:0px;
            border-top-style: none;
            border-right-style: none;
            border-left-style: none;
            border-bottom-style: none;
        }

        /*設置Select樣式*/
        .SelectList
        {
            position: relative;
            background-color: transparent;
            TOP:   -2px;
            left:-2px;
            border-width: 0px;
            border-top-style: none;
            border-right-style: none;
            border-left-style: none;
            border-bottom-style: none;
            display:block;
            height: 32px;
            line-height: 32px;
            overflow:hidden;
        }
    </style>
</head>
<body>
<div class="DivSelect width5">
    <select  class="SelectList width7">
        <option>雙銅紙</option>
        <option>雙膠紙</option>
    </select>
</div>
</body>
</html>

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM