为什么会这样?
请教一下:下面的程序运行有何问题:<html>
<head>
<style type="text/css">
<!--
class1{
font-weight:bold;
font-family:fantasy;
font-size:xx-larger;
font-style:italic;
color:#ff0000;
background-color:aqua;
}
#id{font:18pt sans-serif bolder bold italic;
color:rgb(255,0,0)}
--!>
</style>
</head>
<body>
<p id="id1">this is the first page of CSS!
<div style="font-family:cursive; font-weight:800; font-variant:small-caps;font-size:xx-large;color:red">
you can see different word.<br>
<span class="class1">
it is fantasy,isn't is ?</span>
</div>
</P>
</body>
</html>
在IE中直接运行的时候:
it is fantasy,isn't is?
这一排的斜体不能显示出来,其背景色也不能显示出来?请高手指教一下!!!!小弟再三感谢!!!!!