Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>untitled</title>
- <style type="text/css" media="screen">
- #wrapper{
- background-color: rgba(255, 0, 0, 0.25);
- position: absolute;
- width: 100%;
- top: 50%;
- height: 1px;
- }
- #content{
- width: 400px;
- height: 300px;
- background-color: rgba(255, 0, 0, 0.25);
- margin: 0 auto;
- margin-top: -150px;
- }
- </style>
- </head>
- <body>
- <div id="wrapper">
- <div id="content">
- test
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement