Click to See Complete Forum and Search --> : Changing Text-decoration on a button


Leonsbuddydave
03-11-2008, 07:58 PM
Is this even possible? For user input, I want to have buttons that have B, I, and U on them, but no matter what I try, it doesn't work. Is there a specific attribute for this?

KDLA
03-11-2008, 08:46 PM
Use CSS in the tag, or applying a class:

<input type="button" value="text" style="text-decoration: underline" />
<input type="button" value="text" style="font-weight: bold;" />
<input type="button" value="text" style="font-style: italic" />