从日历日期中删除链接导航

时间:2013-05-14 13:04:34

标签: html css

我想从sharepoint日历列表中显示的日期中删除该链接。 如果我使用开发人员的工具,我没有看到任何锚标签,我可以在其上应用CSS来禁用。我必须通过CSS本身实现这一点。

下面给出的代码来自sharepoint:

<tr class="ms-acal-summary-dayrow"> //Tr which has a class
<td date="5/12/2013" evtid="day">//td i dont know how they fetching this value and entire td has link which has to be removed.
<div>
<nobr>
Text -12 //this text "12"has link
</nobr>
</div>
</td>
</tr>

Text-12有我要删除的链接。我如何通过CSS实现这一目标?

1 个答案:

答案 0 :(得分:0)

您可以使用此作为CSS来删除链接 .active { pointer-events: none; cursor: default; }

http://jsfiddle.net/7EQJp/