hi guys, been through loads of sites and cannot find out how to do this.
I am looking to underline the first letter of an asp:button control which has been assigned an accesskey. If it was a normal button i could add a span between the opening and closing tags but this is an asp:button ending with a /> and you cannot separate the start and end tags.
The code is like this:
As the button label text is coming from the text attribute i cannot add css styling to this or anything. I have tried settings a cssclass with :first-letter styling to underline but this doesn't work either.
I have also tried putting text between the open and closing tags but it doesn't work i.e.
Anyone got any ideas? Thanks
I am looking to underline the first letter of an asp:button control which has been assigned an accesskey. If it was a normal button i could add a span between the opening and closing tags but this is an asp:button ending with a /> and you cannot separate the start and end tags.
The code is like this:
Code:
<asp:button text="Save" Accesskey="S" .../>
As the button label text is coming from the text attribute i cannot add css styling to this or anything. I have tried settings a cssclass with :first-letter styling to underline but this doesn't work either.
I have also tried putting text between the open and closing tags but it doesn't work i.e.
Code:
<asp:button text="Save" Accesskey="S" ...>Text here</asp:button>
Anyone got any ideas? Thanks