Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body
- {
- background-color:#E8E8E8;
- margin:0;
- padding:0;
- }
- #topbar
- {
- width:100%;
- height:50px;
- background-color:#fff;
- -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.10);
- -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.10);
- box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.10);
- }
- #mainbodybox
- {
- margin:auto;
- margin-top:150px;
- width:1500px;
- height:500px;
- background-color:#fff;
- }
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Title</title>
- </head>
- <link rel="stylesheet" type="text/css" href="fc_style.css">
- <body>
- <div id="topbar"></div>
- <div id="mainbodybox"></div>
- </body>
- </html>
- #mainbodybox
- {
- margin:auto;
- margin-top:150px;
- width:1500px;
- max-width:100%; <-- add this
- overflow-x: scroll; <-- add this
- height:500px;
- background-color:#fff;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement