SHARE
TWEET

Untitled

a guest Jan 17th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div id="content">
  2.      <div id="main-content">
  3.        -----------
  4.        -----------
  5.      </div>
  6.  
  7.      <div id="sidebar">
  8.       -----------
  9.       ----------
  10.       </div>
  11.  
  12.  </div>
  13.  
  14.  <div id="footer">
  15.    ----------
  16.    ----------
  17.  </div>
  18.    
  19. #content
  20. {
  21. padding-top:100px;
  22. padding-bottom:50px;
  23. width:1000px;
  24.     margin:0px auto;
  25.  
  26. }
  27.  
  28.   #main-content
  29. {
  30.  
  31. width:720px;
  32. padding-top:250px;
  33.     padding-bottom:30px;
  34.     padding-right:20px;
  35. position : absolute;
  36. }
  37.  
  38.  #sidebar
  39.  
  40. {
  41. float:right;
  42. width:270px;
  43.     padding-top:250px;
  44.     padding-bottom:30px;
  45.  
  46. }
  47.  
  48.  #footer
  49. {
  50. background: url(../images/footer.jpg) repeat-x;
  51.     width:100%;
  52. clear:both;
  53.     margin:auto;
  54.  
  55. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top