Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title></title>
- <style>
- img.bg {
- /* Set rules to fill background */
- min-height: 100%;
- min-width: 1024px;
- /* Set up proportionate scaling */
- width: 100%;
- height: auto;
- /* Set up positioning */
- position: fixed;
- top: 0;
- left: 0;
- }
- @media screen and (max-width: 1024px){
- img.bg {
- left: 50%;
- margin-left: -512px; }
- }
- #page-wrap { position: relative; width: 478px; }
- p { font: 15px/2 Georgia, Serif; margin: 0 0 30px 0; text-indent: 40px; }
- </style>
- </head>
- <body>
- <img src="images/bg.jpg" class="bg">
- <div id="page-wrap"><a href="nonflash.html"><img src="images/bg_header.jpg" width="478" height="111" border="0"></a></div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement