Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="background">
- <div class="logo">
- </div>
- </div>
- .logo {
- background-image: url(image/logo2.png);
- height:40px;
- width:400px;
- margin-left:100px;
- display:block;
- margin-top:20px;
- }
- .background {
- background-image: url(image/empback.png);
- width:100%;
- height:94px;
- min-width:1345px;
- }
- <div class="background">
- <div class="logo">
- </div>
- </div>
- .logo
- {
- background-image: url(image/logo2.png);
- height:40px;
- width:400px;
- margin-left:100px;
- display:block;
- position:absolute;
- top:20px;
- }
- .background
- {
- background-image: url(image/empback.png);
- width:100%;
- height:94px;
- min-width:1345px;
- position:relative;
- }
- .background{
- background: #f00;
- width:100%;
- height:94px;
- min-width:1345px;
- overflow: auto;
- }
- .logo{
- position: relative;
- top: 10px;
- background-color: black;
- height: 40px;
- width: 400px;
- margin-left: 100px;
- display: block;
- margin-top: 20px;
- }
- .background{
- position: absolute;
- background-color: green;
- width: 100%;
- top: 50px;
- height: 94px;
- min-width: 1345px;
- }
Add Comment
Please, Sign In to add comment