Html 更改xsl中href的样式或颜色
我在xsl中得到了这段代码。当它呈现链接时,链接看起来像没有蓝色下划线超链接样式的常规文本。我怎样才能改变这种行为Html 更改xsl中href的样式或颜色,html,css,xslt,Html,Css,Xslt,我在xsl中得到了这段代码。当它呈现链接时,链接看起来像没有蓝色下划线超链接样式的常规文本。我怎样才能改变这种行为 <a href="javascript:void window.open('{$viewPropUrl}','_blank','height=800,width=800,scrollbars=yes,resizable=yes')"> Open and Show Details </a> 请添加 style="text-decoration:underl
<a href="javascript:void window.open('{$viewPropUrl}','_blank','height=800,width=800,scrollbars=yes,resizable=yes')"> Open and Show Details </a>
请添加
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>
您可以使用CSS更改它……您可以更改XSL中的链接吗?如果是这样,给它一个id和/或类,并使用CSS来设置样式。