firefox中的span在这样的情况下会失效吗?
#redblock2{
color: #000000;
}
#redtitlesmall{
color: #FF0033;
}
<div id= "redblock2 ">
<span id= "redtitlesmall "> 标题2 </span>
</div>
------解决方案-------------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN " "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">
<html xmlns= "http://www.w3.org/1999/xhtml ">
<head>
<meta http-equiv= "Content-Type " content= "text/html; charset=utf-8 " />
<title> 无标题文档 </title>
<style type= "text/css ">
#redblock2{
color: #000000;
}
#redtitlesmall{
color: #FF0033;
}
</style>
</head>
<body>
<div id= "redblock2 ">
<span id= "redtitlesmall "> 标题2 </span>
</div>
</body>
</html>
------解决方案--------------------没有失效啊,有什么问题?
------解决方案--------------------理论上说应该没问题
------解决方案--------------------没问题