Advertisement
Guest User

Untitled

a guest
Sep 13th, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.96 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html >
  3. <head>
  4. <meta charset="UTF-8">
  5.  
  6.  
  7. <title>Cameron Cookies OrderForm</title>
  8.  
  9.  
  10.  
  11.  
  12. <style>
  13. body {
  14. background-color: #F5DEB3;
  15.  
  16. }
  17.  
  18. h1 {
  19. color: red;
  20. font-family: Arial, Helvetica, sans-serif;
  21. text-align: center;
  22. }
  23.  
  24. h2 {
  25. text-align: center;
  26. }
  27.  
  28. .nav {
  29. border: 1px solid #ccc;
  30. border-width: 1px 0;
  31. list-style: none;
  32. margin: 0;
  33. padding: 0;
  34. text-align: center;
  35. }
  36. .nav li {
  37. display: inline;
  38. }
  39. .nav a {
  40. display: inline-block;
  41. padding: 30px;
  42. }
  43.  
  44. .left {
  45. float: left;
  46. width: 30%;
  47. margin-right: 1%;
  48. margin-bottom: 0.5em;
  49. text-align: center;
  50. }
  51.  
  52. .right {
  53. float: right;
  54. width: 30%;
  55. margin-left: 1%;
  56. margin-bottom: 0.5em;
  57. text-align: center;
  58. }
  59.  
  60.  
  61. .content {
  62. clear:both;
  63. }
  64.  
  65. .footer {
  66. background-color: #FF0000;
  67. bottom: 0;
  68. color: #fff;
  69. clear: both;
  70. font-family: 'snell roundhand', sans-serif;
  71. font-size: 18px;
  72. text-align: center;
  73. padding: 5px;
  74. margin: -8px;
  75. position: fixed;
  76. width: 100%;
  77. }
  78.  
  79. label{
  80. display: inline-block;
  81. float: left;
  82. clear: left;
  83. width: 250px;
  84. text-align: right;
  85. }
  86. input {
  87. display: inline-block;
  88. float: left;
  89. }
  90. label{
  91. display: inline-block;
  92. float: left;
  93. clear: left;
  94. width: 250px;
  95. text-align: right;
  96. }
  97. input {
  98. display: inline-block;
  99. float: left;
  100. }
  101.  
  102.  
  103.  
  104. </style>
  105.  
  106.  
  107.  
  108. </head>
  109.  
  110. <body translate="no" >
  111.  
  112. <html>
  113. <head>
  114. <link rel="stylesheet" href="style.css">
  115. <title> Cameron Cookies </title>
  116. </head>
  117. <body>
  118. <h1> Cameron Cookies </h1>
  119. <h2> <i> The best homemade cookies in New England </i> </h2>
  120. <p style="text-align: center"> 99 Sycamore St. Portland, ME 04101 (207)555-1212 </p>
  121.  
  122.  
  123. <ul class="nav">
  124. <li><a href="file:///C:/Users/Larry/Desktop/CCHTML/about.html">About Us</a></li>
  125. <li><a href="mailto:cookiemaster@cameroncookies.com">Contact Us</a></li>
  126. <li><a href="file:///C:/Users/Larry/Desktop/CCHTML/orderform.html">Place an Order</a></li>
  127. <li><a href="file:///C:/Users/Larry/Desktop/CCHTML/recipes.html">Sample Recipe</a></li>
  128. </ul>
  129. <br>
  130.  
  131. <form>
  132. <table border="0" cellpadding="2" width="65%">
  133. <tr>
  134. <th>Personal Information</th>
  135. </tr>
  136.  
  137. <tr>
  138. <td>First Name:</td>
  139. <td><input name="fname" id="fname" size="30" type="text" /></td>
  140. </tr>
  141.  
  142. <tr>
  143. <td>Last Name:</td>
  144. <td><input name="lname" id="lname" size="30" type="text" /></td>
  145. </tr>
  146.  
  147. <tr>
  148. <td>Address:</td>
  149. <td><input name="address" id="address" size="30" type="text" /></td>
  150. </tr>
  151.  
  152. <tr>
  153. <td>City:</td>
  154. <td><input name="city" id="city" size="30" type="text" /></td>
  155. </tr>
  156.  
  157. <tr>
  158. <td>State:</td>
  159. <td><input name="state" id="state" size="10" type="text" /></td>
  160. </tr>
  161.  
  162. <tr>
  163. <td>Zip Code:</td>
  164. <td><input name="zip" id="zip" size="10" type="text" /></td>
  165. </tr>
  166.  
  167. <tr>
  168. <td>Country:</td>
  169. <td><input name="country" id="country" size="10" type="text" /></td>
  170. </tr>
  171. <tr>
  172.  
  173.  
  174. </tr>
  175. </table>
  176. <br>
  177. <div class="orderForm">
  178. <table border="0" cellpadding="2" width="65%">
  179. <tr>
  180. <th>Order Information</th>
  181. </tr>
  182. <tr>
  183. <th align="left">QTY</th>
  184. <th align="left">Subtotal</th>
  185. </tr>
  186.  
  187. <tr>
  188. <td><input name="chocolatenut" id="chocolatenut" size="5" value="0" type="text" /></td>
  189. <td>Chocolate Nut - $10.99
  190. <input name="chocolatenut" id="chocolatenut" size="10" type="text" /></td>
  191. </tr>
  192.  
  193. <tr>
  194. <td><input name="chocolatechip" id="chocolatechip" size="5" value="0" type="text" /></td>
  195. <td>Chocolate Chip - $9.99
  196. <input name="chocolatechip" id="chocolatechip" size="10" type="text" /></td>
  197. </tr>
  198.  
  199. <tr>
  200. <td><input name="macadamianut" id="macadamianut" size="5" value="0" type="text" /></td>
  201. <td>Macadamia Nut - $12.99
  202. <input name="macadamianut" id="macadamianut" size="10" type="text" /></td>
  203. </tr>
  204.  
  205. <tr>
  206. <td><input name="oatmealraisin" id="oatmealraisin" size="5" value="0" type="text" /></td>
  207. <td>Oatmeal Raisin $10.99
  208. <input name="oatmealraisin" id="oatmealraisin" size="10" type="text" /></td>
  209. </tr>
  210.  
  211. <tr>
  212. <td><input name="chocolatedessert" id="chocolatedessert" size="5" value="0" type="text" /></td>
  213. <td>Chocolate Dessert - $10.99
  214. <input name="chocolatedessert" id="chocolatedessert" size="10" type="text" /></td>
  215. </tr>
  216.  
  217. <tr>
  218. <td><input name="butter" id="butter" size="5" value="0" type="text" /></td>
  219. <td>Butter - $7.99
  220. <input name="butter" id="butter" size="10" type="text" /></td>
  221. </tr>
  222.  
  223. <tr>
  224. <td>Subtotal:
  225. <input name="subtotal" id="subtotal" size="10" type="text" /></td>
  226. </tr>
  227. <br><tr>
  228. <td>Gift wrapping
  229. <input name="subtotal" id="subtotal" size="10" type="radio" /></td>
  230. </tr>
  231. <tr>
  232. <td>If yes, note the text for the gift card
  233. <input name="subtotal" id="subtotal" size="50" type="text" /></td>
  234. </tr>
  235. <tr>
  236. <td>Shipping
  237. <input name="subtotal" id="subtotal" size="10" type="text" /></td>
  238. </tr>
  239. <tr>
  240. <td>Total:
  241. <input name="subtotal" id="subtotal" size="10" type="text" /></td>
  242. </tr>
  243. </table>
  244. </div>
  245. <br>
  246.  
  247. <table border="0" cellpadding="2" width="65%">
  248. <tr>
  249. <th>Payment Information</th>
  250. </tr>
  251.  
  252. <tr>
  253. <td>Master Card:</td>
  254. <td><input name="fname" id="fname" size="30" type="radio" /></td>
  255. </tr>
  256.  
  257. <tr>
  258. <td>Visa:</td>
  259. <td><input name="lname" id="lname" size="30" type="radio" /></td>
  260. </tr>
  261.  
  262. <tr>
  263. <td>Credit Card Number:</td>
  264. <td><input name="address" id="address" size="30" type="text" /></td>
  265. </tr>
  266.  
  267. <tr>
  268. <td>Expiration: <select>
  269. <option value="january">January</option>
  270. <option value="february">February</option>
  271. <option value="march">March</option>
  272. <option value="april">April</option>
  273. <option value="may">May</option>
  274. <option value="june">June</option>
  275. <option value="july">July</option>
  276. <option value="august">August</option>
  277. <option value="september">September</option>
  278. <option value="october">October</option>
  279. <option value="november">November</option>
  280. <option value="december">December</option>
  281. </select>
  282. <select>
  283. <option value="2016">2016</option>
  284. <option value="2017">2017</option>
  285. <option value="2018">2018</option>
  286. <option value="2019">2019</option>
  287. <option value="2020">2020</option>
  288. <option value="2021">2021</option>
  289. <option value="2022">2022</option>
  290. </select></td>
  291.  
  292. </tr>
  293.  
  294. <tr>
  295. <td><input type="reset" name="resetForm" value="Reset"/>
  296. <td><input type="submit" name="submitForm" value="Submit"/>
  297. </td>
  298.  
  299. </tr>
  300. </table>
  301. </form>
  302.  
  303.  
  304. </body>
  305. </html>
  306.  
  307.  
  308. </body>
  309. <footer>
  310. <div class="footer">
  311. Designed by Larry Wilkinson 2016
  312. </div>
  313. </footer>
  314. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement