Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- #hintergrund {
- position:absolute;
- width:100%;
- height:100%;
- z-index:1;
- }
- #scrollbereich {
- position:absolute;
- top:0;
- left:0;
- width:100%;
- height:100%;
- overflow:auto;
- z-index:2;
- }
- #inhalt {
- padding:20% 15% 5% 15%;
- z-index:2;
- }
- </style>
- ...
- </head>
- <body>
- <div>
- <img id="hintergrund" src="" alt="" title=""></img>
- </div>
- <div id="scrollbereich">
- <div id="inhalt">
- ...
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement