View difference between Paste ID: JMCJbxah and
SHOW:
|
|
- or go back to the newest paste.
1 | - | |
1 | + | <html> |
2 | <style> | |
3 | #left | |
4 | { | |
5 | position: absolute; | |
6 | width: 100px; | |
7 | height: 100%; | |
8 | top: 0; | |
9 | left: 0; | |
10 | background: red; | |
11 | float: left; | |
12 | } | |
13 | #right | |
14 | { | |
15 | position: absolute; | |
16 | margin-left: 100px; | |
17 | background: green; | |
18 | height: 100%; | |
19 | top: 0; | |
20 | left: 0; | |
21 | right: 0; | |
22 | } | |
23 | </style> | |
24 | <body> | |
25 | <div id="left"> </div> | |
26 | <div id="right"> </div> | |
27 | </body> | |
28 | </html> |