Advertisement
Martichka

[SD] Photoshop/Task3

Mar 26th, 2013
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 1.62 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4.     <title>Menu bar</title>
  5.     <style>
  6.         body button {
  7.             padding: 0px;
  8.             margin: 0 -6px;
  9.             border: none;
  10.             cursor: pointer;
  11.         }
  12.  
  13.             body button span {
  14.                 color: #a7162e;
  15.             }
  16.  
  17.         body .leftend {
  18.             display: inline-block;
  19.             background: url(images/leftend.png) no-repeat;
  20.             width: 16px;
  21.             height: 55px;
  22.         }
  23.  
  24.         body .inner {
  25.             display: inline-block;
  26.             background: url(images/inner.png) no-repeat;
  27.             width: 16px;
  28.             height: 55px;
  29.         }
  30.  
  31.         body button .middlebar {
  32.             font-size: 20px;
  33.             line-height: 55px;
  34.             background: url(images/middlebar.png) repeat-x;
  35.             float: left;
  36.             padding: 0px 10px;
  37.         }
  38.  
  39.         body .rightend {
  40.             display: inline-block;
  41.             background: url(images/rightend.png) no-repeat;
  42.             width: 16px;
  43.             height: 55px;
  44.         }
  45.     </style>
  46. </head>
  47. <body>
  48.     <span class="leftend"></span>
  49.     <button>
  50.         <span class="middlebar">Home</span>
  51.     </button>
  52.     <span class="inner"></span>
  53.     <button>
  54.         <span class="middlebar">About</span>
  55.     </button>
  56.     <span class="inner"></span>
  57.     <button>
  58.         <span class="middlebar">More Information</span>
  59.     </button>
  60.     <span class="inner"></span>
  61.     <button>
  62.         <span class="middlebar">Contacts</span>
  63.     </button>
  64.     <span class="rightend"></span>
  65. </body>
  66. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement