在页面生成和XSLT之后,XSL是否有任何方法将以下元素与页面右侧对齐?
<RadioButton>
<Name>myRadio</Name>
</RadioButton>
其中RadioButton
是定义为<input radio...etc>
答案 0 :(得分:1)
生成页面后,您需要使用级联样式表或其他内容进行美容对齐。
所以在你的xsl中你可能有模板使其像
<input type="radio" name="blah" class="moo" value="blah" />
并且.css中有
.moo{
float:right;
}
或者你可以使用像
这样的内联样式<input type="radio" name="blah" style="float:left;" value="blah" />