Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- div.box{
- height:100px;
- border:1px solid green;
- }
- div.spacer{
- height:50%;
- border:1px solid red;
- }
- p{
- margin-top:-0.5em;
- border:1px solid blue;
- }
- </style>
- </head>
- <body>
- <div class="box">
- <div class="spacer"></div>
- <p>test</p>
- </div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment