任务:下划线强调“笔记”类的任何段落内有序列表中的文本。这是我到目前为止...CSS继承:父母和孩子的孩子
.note>p>ol>em{text-decoration:underline;}
我很努力得到这个去。我的代码有什么问题?
***编辑:我也试过这无济于事:
.note p ol em{text-decoration:underline;}
***编辑:这是我一直在使用,以测试它的HTML ...
<div class = "note">
<p>
Modifiers are sometimes included along with the basic command, inside...
</p>
<table align ="center" border = "3" >
<td>
<p>Three things:
<ol type = "i">
<li><em>First</em></li>
<li>Second</li>
<li>Third</li>
</ol>
</p>
</td>
</table>
</div>
,从我能想到的,您可以尝试的唯一事情是有空间... –
'。注意p醇EM更换> {文字装饰:下划线;}' – Flowen
既不可以了'p'作为一个孩子(或任何后裔)有一个'ol',小孩也不能拥有'em'。 – BoltClock