PayneLess_Designs

PayneLess Designs: Background Images - Repeated Left/Right

Jun 8th, 2011
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.77 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html lang="en-US"><head>
  3. <title>Background Images - Repeated Left/Right</title>
  4. <meta http-equiv="content-type" content="text/html; charset=utf-8">
  5. <meta name="created" content="Wed, 08 Jun 2011 07:58:45 GMT">
  6. <meta name="description" content="">
  7. <meta name="keywords" content="">
  8. <meta name="author" content="PayneLess Designs">
  9. <meta name="copyright" content="Jan 2004 to present.">
  10.    
  11. <style type="text/css">
  12. * { margin: 0; padding: 0; border: 0; }
  13. h1 { text-align: center;
  14.  }
  15. div#wrapper {
  16. width: 960px;
  17. height: 600px;
  18. margin: 0 auto;
  19. /* border: 1px solid #f00; */
  20. }
  21.  
  22. div#left-image {
  23. width: 100px;
  24. height: 600px;
  25. float: left;
  26. background: #f00 url(images/image-slice-1X5-red.png) repeat top left scroll;
  27. /* border: 1px solid #ff0; */
  28. }
  29.  
  30. div#right-image {
  31. width: 100px;
  32. height: 600px;
  33. float: right;
  34. background: #00f url(images/image-slice-1X5-blue.png) repeat top left scroll;
  35. /* border: 1px solid #0f0; */
  36. }
  37.  
  38. div#content-wrap {
  39. width: 760px;
  40. height: 600px;
  41. margin: 0 auto;
  42. background: #fff;
  43. color: #000;
  44. /* border: 1px solid #00f; */
  45. }
  46.  
  47. p { margin-left: 3%; }
  48. </style>
  49.  
  50. <!--[if IE]>
  51. <link rel="stylesheet" type="text/css" href="iestyle.css">
  52. <script type="text/javascript" src="site_js/js_blink4IE.js"></script>
  53. <![endif]-->
  54. </head>
  55. <body>
  56. <h1>Background Images - Repeated Left/Right</h1>
  57. <!-- START Main Wrapper --><div id="wrapper">
  58.  
  59. <!-- START Left Image --><div id="left-image"></div><!-- END Left Image -->
  60. <!-- START Right Image --><div id="right-image"></div><!-- END Right Image -->
  61.  
  62. <!-- START Content Wrap --><div id="content-wrap">
  63. <p>Main content here.</p>
  64. </div><!-- END Content Wrap -->
  65.  
  66. </div><!-- END Main Wrapper -->
  67. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment