Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/silverlight/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
色度差异<;细节>;html标签_Html_Css - Fatal编程技术网

色度差异<;细节>;html标签

色度差异<;细节>;html标签,html,css,Html,Css,我目前正在试验html标记组合,它的效果非常好。但我面临着从chrome到firefox的不同: 查看any.html <!doctype html> <html lang="de"> <head> <style> #green { text-align: left; background-color: green; color: black; }

我目前正在试验html标记组合,它的效果非常好。但我面临着从chrome到firefox的不同:

查看any.html

<!doctype html>
<html lang="de">
  <head>
    <style>


    #green { 
    text-align: left; 
       background-color: green;
       color: black;
    }
    #red {
    text-align: left; 
        background-color: red;
        color: black;
    }
    details {
    text-align: center; 
        background-color: white;
    }    


    </style>
  </head>
 <body>

<details> 
  <summary id="green">
    ProjectXYZ
  </summary>
    <table>
    <tr>
    <td>Hi</td>
    <td>Go</td>
    </tr>
    </table>
    <a href="content.html">more</a>
</details>
<details> 
  <summary id="red">
    ProjectXYZ
  </summary>
    <table>
    <tr>
    <td>Hi</td>
    <td>Go</td>
    </tr>
    </table>
    <a href="content.html">more</a>
</details>
</body>
</html>
现在打开一个细节标签,点击“更多”链接。当你回到firefox时,标签仍然打开。 当你使用chrome时,它是关闭的

我可以改变chrome的这种行为吗

nothing