Forum Moderators: not2easy

Message Too Old, No Replies

display underline character on button

underline the accesskey character

         

kadnan

8:01 am on Sep 20, 2005 (gmt 0)

10+ Year Member



Hello

i want to underline the accesskey chracter on html button tag,i am using the following for button formatting and accessKey

<input type="button" accesskey="e" class="buttons" name="Button" value="Next" />

buttons class
===============

.buttons {
font-family: Arial, Helvetica, sans-serif;
font-size: 14px;
font-style: normal;
font-weight: normal;
text-transform: capitalize;
color: #000000;
background-color: #CCCCCC;
border: outset;
width: 80px;
height: 25px;
}

.accesskey {

text-decoration:underline;
color:red;
font-variant:small-caps;
}

However,its not underlining the characte e,how could i make it happen

Thanks

kadnan

8:43 am on Sep 20, 2005 (gmt 0)

10+ Year Member



OK i tried this

document.getElementById("ady").innerHtml="<b>a</b>dan";

on OnLoad Event but its not doing anything,the InnerText however working for IE but not FireFox