Advertisement
Guest User

Untitled

a guest
Aug 9th, 2015
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.74 KB | None | 0 0
  1. <div id="wrapper">
  2.     <header>
  3.         <form name="search" action="#" method="get">
  4.             <input type="text" name="q" placeholder="Search"><button type="submit" id="search">GO</button>
  5.         </form>
  6.     </header>
  7. </div>
  8.  
  9. <style>
  10. #wrapper {
  11.     max-width: 960px;
  12.     margin: auto;
  13. }
  14.  
  15. header {
  16.     padding: 20px 0;
  17. }
  18.  
  19. form[name="search"] {
  20.     float: right;
  21. }
  22.  
  23. input[name="q"] {
  24.     width: 146px;
  25.     height: 28px;
  26.     border: #e7e7e7 solid 1px;
  27.     background: #f3f3f3;
  28.     border-right: none;
  29.     font: 12px 'Tahoma', sans-serif;
  30.     padding-left: 10px;
  31.     color: #8f8f8f;
  32. }
  33.  
  34. button[id="search"] {
  35.     width: 42px;
  36.     height: 32px;
  37.     border: none;
  38.     background-color: #29c5e6;
  39.     color: #FFFFFF;
  40. }
  41. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement