如何在GridView中的FooterTemplate单​​元格中对齐文本

Shi*_*mmy 4 html asp.net gridview cell text-alignment

如何在GridView中的FooterTemplate单​​元格中对齐文本

我尝试了以下但文本仍然居中(有一个父中心标记):

<FooterTemplate>
    <span style="size:100%; padding:0; text-align: right">Total:&nbsp;</span>
</FooterTemplate>
Run Code Online (Sandbox Code Playgroud)

Mat*_*nes 11

在模板的父列中尝试设置 FooterStyle-HorizontalAlign="Right"