Guest User

search skele

a guest
Nov 18th, 2013
1,342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.29 KB | None | 0 0
  1.  
  2. /* ------put this b4 </style>   -------*/
  3.  
  4.        .clear {
  5.             clear: both;
  6.             height: 0px;
  7.             overflow: hidden;
  8.         }
  9.  
  10.         .search {
  11.                         background: #fff;
  12.                         border: 1px solid {color:Background};
  13.                          
  14.                     }
  15.                    
  16.                     .search-scope {
  17.                         padding-top: 5px;
  18.                         font-size: 11px;
  19.                         text-align: center;
  20.                     }
  21.                    
  22.                         #search-scope input,
  23.                         #search-scope label {
  24.                             cursor: pointer;
  25.                         }
  26.                        
  27.                         #search form {
  28.                             margin: 0;
  29.                         }
  30.                            
  31.                             #search form .query {
  32.                                 padding: 5px;
  33.                                 border: none;
  34.                                 background: transparent;
  35.                                 outline: none;
  36.                                 width: 125px;
  37.                                 float: left;
  38.                                 color: black;
  39.                             }
  40.                            
  41.                             #search form .submit {
  42.                                 background: white;
  43.                                 color: #000;
  44.                                 border: none;
  45.                                 padding: 5px 7px;
  46.                                 margin: 3px 3px 2px 0;
  47.                                 float: right;
  48.                                 cursor: pointer;
  49.                             }
  50.  
  51. /*--------------end of style -------*/
  52.  
  53.  
  54. <!-- then put this shit in ur sidebar code or w.e u want it  -->
  55.  
  56. <div id="search">
  57.                     <form action="/search" method="get" id="search-form">
  58.                         <input type="hidden" name="t" value="{Name}" />
  59.                         <input type="text" name="q" class="query" value="{SearchQuery}" />
  60.                         <input type="submit" value="{lang:Search}" class="submit" />
  61.                         <div class="clear"></div>
  62.                     </form>
  63.  
  64.  
  65. <!--       yeah -- >
Advertisement
Add Comment
Please, Sign In to add comment