zoukankan      html  css  js  c++  java
  • 修改Dropdownlist样式

     <style>  
      .box  
      {  
              border:1px   solid   #C0C0C0;  
              182px;  
              height:19px;  
              clip:rect(0px,181px,18px,0px);  
              overflow:hidden;  
      }  
      .box2  
      {  
              border:1px   solid   #F4F4F4;  
              180px;  
              height:17px;  
              clip:rect(0px,179px,16px,0px);  
              overflow:hidden;  
      }  
      select.nice  
      {  
              position:relative;  
              left:-2px;  
              top:-2px;  
              font-size:12px;  
              183px;  
              line-height:14px;  
              border:0px;  
              color:#414141;  
      }  
      </style>

    <span   class="box"><span   class="box2"><asp:dropdownlist   id=listProject   runat="server"   CssClass="nice"   DataTextField="name"   DataValueField="id"   DataSource="<%#   PrjList   %>"></asp:dropdownlist></span></span>
  • 相关阅读:
    rabbitmqctl常用命令-3
    Count and Say
    Spiral Matrix II
    Minimum Path Sum
    Plus One
    Rotate Image
    Permutations
    Search a 2D Matrix
    Binary Tree Level Order Traversal II
    Binary Tree Level Order Traversal
  • 原文地址:https://www.cnblogs.com/lingxzg/p/808051.html
Copyright © 2011-2022 走看看