PayneLess_Designs

PayneLess Designs - Textarea box with "Select All"

May 16th, 2012
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.32 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html><head>
  3. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  4. <title>Textarea box with "Select All"</title>
  5. <meta name="description" content="">
  6. <meta name="keywords" content="">
  7. <meta name="author" content="">
  8. <meta name="date" content="12/22/2008">
  9. <meta name="copyright" content="Copyrighted by PayneLessDesigns.com, 2008 to Present, All Rights Reserved">
  10. <meta name="generator" content="MSS Website Studio by van IJperen Software Inc. - http://www.marsansoft.nl">
  11. <style type="text/css">
  12. div#textarea_centering {
  13. width: 745px;
  14. margin: 1% auto;
  15. }
  16.  
  17. textarea.select {
  18. font-size: 1.0em;
  19. font-weight: bold;
  20. background: transparent;
  21. }
  22. </style>
  23.  
  24. <!--[if IE]>
  25. <style type="text/css">
  26. div#textarea_centering {
  27. width: 745px;
  28. margin: 1% auto;
  29. }
  30.  
  31. textarea.select {
  32. width: 745px;
  33. margin: 0 auto;
  34. font-size: 1.0em;
  35. font-weight: bold;
  36. background: transparent;
  37. }
  38. </style>
  39. <![endif]-->
  40. </head>
  41. <body>
  42. <div id="textarea_centering">
  43. <p><a href="#" onclick="document.getElementById('postemail').select(); return false">Select All</a><br><textarea class="select" id="postemail" rows="8" cols="70" readonly="readonly">
  44. </textarea>
  45. </div>
  46. </body></html>
  47.  
  48. <!-- ** file created on 12/22/2008 7:05:42 AM ** -->
Advertisement
Add Comment
Please, Sign In to add comment