61,115
社区成员
发帖
与我相关
我的任务
分享
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Stylin' with CSS - Figure 3.4 Box Padding</title>
<style>
p {font:16px helvetica, sans-serif; width:220px; border:2px solid red; background-color:#caebff;}
</style>
</head>
<body>
<p>Here is a short paragraph of text. Without any padding, the text can touch the border on all four sides, which gives the layout a very crowded appearance. It's not something you really want to read.</p>
</body>
</html>