Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style type="text/css">
- .centered {
- position: fixed;
- top: 50%;
- left: 50%;
- margin-top: -50px;
- margin-left: -100px;
- }
- </style>
- <div class="centered">
- <p>Here is my div content!!</p>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement