Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Oct 6th, 2013  |  syntax: None  |  size: 0.63 KB  |  views: 37  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. HTML:
  2.  
  3. <div class="wrapper">   (the border you see being cut off)
  4.         <div class="page">
  5.                 <header>
  6.                 bla
  7.                 </header>
  8.                 <div class="content">
  9.                 bla content stuff
  10.                 </div>
  11.                 <footer>
  12.                 bla
  13.                 </footer>
  14.         </div>
  15. </div>
  16.  
  17. CSS:
  18.  
  19. .wrapper { (again, this is the border that gets cut off)
  20.                 max-width: 800px;
  21.                 min-width: 800px;
  22.                 min-height: auto;
  23.                 border: 3px solid;
  24.                 border-color: #000000;
  25.                 margin: 10px auto 0px auto;    
  26.                 padding: 10px 12px 10px 12px;
  27.         }
  28.  
  29. .page {
  30.                 min-height: auto;
  31.                 min-width: 980px;
  32.                 margin: 0px auto 0px auto;
  33.                 position: relative;
  34.                 background-color: #fff;
  35.                 display: inline-block;
  36.         }