PayneLess_Designs

PayneLess Designs - Text Columns - Left and Right

Feb 7th, 2012
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.88 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. <title>Text Columns - Left and Right</title>
  4. <meta name="created" content="Thu, 10 Sep 2009 21:50:13 GMT">
  5. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  6. <meta name="description" content="">
  7. <meta name="keywords" content="">
  8. <style type="text/css">
  9. * { margin: 0; padding: 0; border: 0; }
  10.  
  11. h1 { text-align: center; }
  12.  
  13. #wrap {
  14. width: 90%;
  15. margin: 0 auto;
  16. }
  17.  
  18. #portal_l {
  19. float: left;
  20. width: 150px;
  21. height: 500px;
  22. overflow: auto;
  23. padding: 5px;
  24. border: 1px solid #f00;
  25. }
  26.  
  27. #portal_r {
  28. float: right;
  29. width: 150px;
  30. height: 500px;
  31. overflow: auto;
  32. padding: 5px;
  33. border: 1px solid #f00;
  34. </style>
  35. </head><body>
  36. <h1>Text Columns - Left and Right</h1>
  37. <div id="wrap">
  38. <div id="portal_l">Text</div>
  39. <div id="portal_r">Text</div>
  40. </div>
  41. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment