Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- margin: 0px 0px 0px 0px;
- }
- p{
- margin: 0px 0px 0px 0px;
- }
- #title {
- display: inline-block;
- width: 400px;
- height: 50px;
- margin: 0px 0px 0px 0px;
- padding: 0px 0px 0px 0px;
- background-color: red;
- position: relative;
- left: 0px;
- right: 0px;
- }
- #copres {
- display: inline-block;
- margin: 0px;
- padding: 0px;
- width: 200px;
- height: 50px;
- background-color: black;
- position: relative;
- left: 0px;
- right: 0px;
- }
- #box2 {
- width: 180px;
- display: inline-block;
- height: 50px;
- background-color: green;
- }
- #box3 {
- width: 180px;
- display: inline-block;
- height: 50px;
- background-color: yellow;
- }
- #box4 {
- width: 600px;
- display: inline-block;
- height: 50px;
- background-color: blue;
- }
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <head>
- <title>Blocks</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link href="list.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <span id='title' >
-
- </span> <!-- title -->
- <span id='copres' >
-
- </span>
- <span id='box2' >
-
- </span>
- <div style='clear: both'></div>
- <span id='box3' >
-
- </span>
- <span id='box4' >
-
- </span>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement