如何调整标签控件中的字符间距。属性窗口中没有该属性。
<asp:Label ID="label01" runat="server" Text="EXPLORATIONS" Font-Bold="True"
Font-Names="Verdana" Font-Size="Small" ForeColor="#999999"></asp:Label>
最佳答案
您可以使用 CSS letter-spacing
property :
<asp:Label ID="label01" runat="server" Text="EXPLORATIONS" Font-Bold="True" Font-Names="Verdana" Font-Size="Small" ForeColor="#999999" CssClass="YourStyle" />
<style>
.YourStyle
{
letter-spacing: 4px;
}
</style>
关于c# - 如何调整标签的字符间距,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11452169/