PayneLess_Designs

PayneLess Designs - Read Box Code

Jun 24th, 2011
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.48 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <html><head>
  3. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  4. <title>Read Box Code</title>
  5. <meta name="description" content="">
  6. <meta name="keywords" content="">
  7. <meta name="author" content="">
  8. <style type="text/css">
  9. * { margin: 0; padding: 0; border: 0; }
  10. body { background: #000; }
  11. h1, h4 { text-align: center; }
  12. #wrap {
  13. width: 800px;
  14. height: 600px;
  15. margin: 0 auto;
  16. background: url(http://i160.photobucket.com/albums/t184/PayneLess_Designs/Backgrounds/bg_3d_face_happy_md_wht.jpg) repeat top left scroll;
  17. }
  18.  
  19. #box {
  20. width: 400px;
  21. margin: 0 auto;
  22. overflow: auto;
  23. position: absolute;
  24. top: 25%;
  25. left: 34%;
  26. border: 1em inset #0f0;
  27. padding: 2px;
  28. text-align: justify;
  29. background: transparent;
  30. font-family: arial, 'times new roman' sans-serif;
  31. font-size: 1.5em;
  32. color: #fff;
  33. }
  34. </style>
  35.  
  36. <!--[if IE]>
  37. <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
  38. <style type="text/css">
  39. #box {
  40. width: 400px;
  41. margin: 0 auto;
  42. overflow: auto;
  43. border: 1em inset #0f0;
  44. padding: 2px;
  45. text-align: justify;
  46. background: transparent;
  47. font-size: 1em;
  48. }
  49. </style>
  50. <![endif]-->
  51. </head>
  52. <body>
  53. <h1>Read Box Code</h1>
  54. <div id="wrap">
  55. <div id="box">
  56. <h4>My Read Box</h4>
  57. <p>&bull; Paragraph One Here.</p>
  58. <p>&bull; Paragraph Two Here.</p>
  59. <p>&bull; Paragraph Three Here.</p>
  60. <p>&bull; Last Paragraph Here.</p>
  61. </div>
  62. </div>
  63. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment