<html>
<head>
<style>
(All but div) {
padding-left: 100px;
}
</style>
</head>
<body>
<div style="background-color: blue;">This is a div</div>
This is not a div
</body>
</html>
我该用什么替换(All but div),才能为文本"This is not a div"左侧应用100px的内边距,而不移动实际的蓝色div本身?
div
的影响。 - Dai