<html>
<head>
<title>sheng</title>
<style>
.parentCss {
background-color : #FFFF66;
width : 500px;
height : 300px;
padding-left : 10px
}
.childCss {
background-color : #990000;
width : 450px;
height : 260px;
padding : 30px;
}
</style>
</head>
<body>
<div class="parentCss" id = "parent">
<div class="childCss" >
<p style="font-family : 楷体; font-size : 14">请单击左侧的标签来选择你想要查看的成员类型。</p>
</div>
</div>
</body>
</html>
padding 控制div(或其它)里的内容与它的边框的距离
margin是指border离外面容器的距离,而padding是指容器里面的内容离border的距离