<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;chasret=utf-8">
<title>斜体样式</title>
<style type="text/css">
/*p a{font-style:italic;}
p{font-style:italic;}*/
*{
p:font-style:italic;
}
</style>
</head>
<body>
<p>三年级,我还是一个<a>胆小如鼠</a>的小女孩.</p>
</body>
</html>
我用通用选择符来写怎么不行
你试试把"p:"去掉,下图示:
*{ font-style:italic; }