blob: e0bd8ae1db4e8164608d61eeb9969fd91a660b7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
body {
margin: 0;
}
#block {
background-color: green;
margin: 10px 0;
}
#inline-block {
display: inline-block;
margin: 10px 0;
background-color: lightgreen;
}
</style>
</head>
<body>
<div id="block"><div id="inline-block">Hello Kitty</div></div>
</body>
</html>
|