日期:2014-05-17  浏览次数:20532 次

请大家一个简单的css问题

怎样把下面的样式写进css文档里面啊,我把它剪贴到css文档里面,可不能实现与放在head标签里面的效果。
是不是要加点什么东西??

<style type="text/css">
<!--
body {
margin-bottom: 10px;
line-height: 150%;
margin-top: 0px;
}
li { 
color: #000000; 
list-style-type: none; 

ul,li {  
  margin:0;  
  padding:0;  
  }  
-->
</style>
<STYLE type="text/css">
<!--a 
{ color: #000000; 
font-size: 10pt; 
text-decoration: none}
a {
font-size: 12px;
}
a:visited 
{ } 

a:hover 
{
color: #0099FF;
text-decoration: underline;
background-color: #FFFFFF;
}

-->
</STYLE>

------解决方案--------------------
<style type= "text/css "> 
<!-- 

--> 
</style> 
<STYLE type= "text/css "> 
<!--
--> 
</STYLE> 

去掉
合并一下
存成编码相同的 .css
head 区
<link href="***.css" type="text/css" rel="stylesheet" />