Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- body {
- margin: 0;
- }
- #A {
- text-align: center;
- height: 100%;
- vertical-align: middle;
- }
- #B, #C {
- display: inline-block;
- vertical-align: middle;
- }
- #C {
- height: 100%;
- }
- </style>
- </head>
- <body>
- <div id='A'>
- <div id='B'>
- <span>hello</span><br/>
- <span>hello</span><br/>
- <span>hello</span>
- </div>
- <div id='C'></div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement