Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <style>
- #main{
- display:flex;
- margin:100 auto;
- background-image:(url);
- height:500px;
- width:900px;
- }
- #l1{
- width:860px;
- height:150px;
- background-color:yellow;
- }
- #jp{
- margin:10px;
- width:180px;
- background-color:blue;
- height:150px;
- }
- #m2{
- margin:10px;
- width:580px;
- background-color:red;
- height:150px;
- }
- #l2{
- margin:10px;
- width:780px;
- height:150px;
- background-color:green;
- }
- #l3{
- margin:10px;
- width:780px;
- height:150px;
- background-color:grey;
- }
- </style>
- </head>
- <body>
- <div id="main">
- <div id="jp">jpg</div>
- <div id="m2">11111</div>
- <div id="l2">222</div>
- <div id="l3">5555</div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement