Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title></title>
- <meta name="description" content="" />
- <meta name="keywords" content="" />
- <style type="text/css">
- div#imagen1 {
- display: table;
- height: 300px;
- background: red;
- }
- div#imagen1 span {
- display: table-cell;
- vertical-align: middle;
- }
- </style>
- </head>
- <body>
- <div id="imagen1">
- <span><img id="i1" src="http://placekitten.com/200/200"></span>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement