Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. body
  2. {
  3. background-color:#E8E8E8;
  4. margin:0;
  5. padding:0;
  6. }
  7.  
  8. #topbar
  9. {
  10. width:100%;
  11. height:50px;
  12. background-color:#fff;
  13. -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.10);
  14. -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.10);
  15. box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.10);
  16. }
  17.  
  18. #mainbodybox
  19. {
  20. margin:auto;
  21. margin-top:150px;
  22. width:1500px;
  23. height:500px;
  24. background-color:#fff;
  25. }
  26.  
  27.  
  28. <!doctype html>
  29. <html>
  30. <head>
  31. <meta charset="utf-8">
  32. <title>Title</title>
  33. </head>
  34. <link rel="stylesheet" type="text/css" href="fc_style.css">
  35. <body>
  36.  
  37. <div id="topbar"></div>
  38.  
  39. <div id="mainbodybox"></div>
  40.  
  41. </body>
  42. </html>
  43.  
  44. #mainbodybox
  45. {
  46. margin:auto;
  47. margin-top:150px;
  48. width:1500px;
  49. max-width:100%; <-- add this
  50. overflow-x: scroll; <-- add this
  51. height:500px;
  52. background-color:#fff;
  53. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement