Set border for select dropdown - HTML CSS CSS Form

HTML CSS examples for CSS Form:input select

Description

Set border for select dropdown

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">

.wrapper {<!--   ww  w  .jav a 2  s . c  om-->
   border-radius: 5px;
   border: 2px solid #DDDDDD;
   display: inline;
   top: 5px;
   left: 5px;
   position: relative;
}

.new {
   width: 217px;
   border: 0;
}

      </style> 
 </head> 
 <body> 
  <div class="wrapper"> 
   <select name="" class="new"> <option value="" selected>Select Religion</option> </select> 
  </div>  
 </body>
</html>

Related Tutorials