Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <body>
- <h1>Something</h1>
- <img id="myid" src='images/bigimage.png'/>
- <div id="container">
- <div id="fast-back">
- <p class="big-font">SOMETHING</p>
- <p class="small-font">SOMEThiNG ELSE</p>
- </div>
- </div>
- </body>
- html {
- overflow-x: hidden;
- }
- body {
- margin: 0;
- padding: 0;
- background: url(images/body-background.png) top no-repeat;
- min-height: 860px;
- height: 860px;
- }
- h1 {
- margin: 0;
- padding: 0;
- position: absolute;
- color: white;
- visibility: hidden;
- }
- #container {
- margin: 0 auto;
- padding: 0;
- position: relative;
- min-width: 1336px;
- height: 860px;
- width: 1336px;
- }
- #myid{
- position: absolute;
- left: 50%;
- right: 50%;
- margin-left: -1280px;
- margin-right: -1280px;
- z-index: 1004;
- }
- #fast-back {
- position: relative;
- margin-left: 15%; /*it moves even using pixel*/
- top: 272px;
- z-index: 99999;
- text-align: center;
- width: 126px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement