我在xsl中得到了这段代码。当它呈现链接看起来像普通文本时没有带蓝色下划线的超链接样式。我该如何改变这种行为?
<a href="javascript:void window.open('{$viewPropUrl}','_blank','height=800,width=800,scrollbars=yes,resizable=yes')"> Open and Show Details </a>
答案 0 :(得分:1)
请添加
style="text-decoration:underline; color:#FF0000;"
到您的链接。
所以它看起来像这样:
<a href="javascript:void window.open('{$viewPropUrl}','_blank','height=800,width=800,scrollbars=yes,resizable=yes')" style="text-decoration:underline; color:#FF0000;"> Open and Show Details </a>