私はxulにこのコードを持っています:
<treechildren id = "mainTree_treechildren">
<treeitem container="true" open="true">
<treerow>
<treecell label="&tree.actions;" />
</treerow>
<treechildren id="tree_actions_treechildren" >
<treeitem container="true" open="true">
<treerow>
<treecell label="&tree.actions.warnings;" />
</treerow>
</treeitem>
</treechildren>
</treeitem>
</treechildren>
そして私はそれをスタイリングするのに問題があります。mainTree_treechildren
idを持つ彼の子treechildrenのtreecellのテキストの色とtreecellのテキストの色を変える必要がありますtree_actions_treechildren
。
現時点では、このcssコードがあります
#mainTree #mainTree_treechildren::-moz-tree-cell-text { color: #000000; }
#mainTree #tree_actions_treechildren::-moz-tree-cell-text { color: #FFFFFF; }
しかし、それは機能しません。mainTree_treechildren
を含む内部のすべての要素に対してのみ黒色が表示されます tree_actions_treechildren
。