View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
In reply to your query about changing the appearance/font/style/color of form buttons, I am not aware of any way to do this. Even Javascript seems limited in this respect.
 
However, JAVA has some class buttons that will do the trick.
 
Regards,
 
Zeke
Sent by Alan Harris-Reid on 12/27/2002 09:00:13 AM:

I want to have a submit button on a form, and when submitted, I want to be able to retrieve data from the called page as to whether it was called from the button press or via another method (eg. if 'enter' was pressed).
Ideally I would like to use a button created using [input type="submit" name="submit" value="Report"], as the name/value pair are posted to the next page.  The problem with the resulting button is that I cannot see any way to change font, size or color of button text, so I am limited to a very boring-looking button.  Is there any way around this?  I tried changing the font attributes of the table cell containing the button, but the button still looked the same.
 
To solve the appearance problems I could create the button using [button]...[/button] tags, but the problem this is that the posted value is always the same, whether the button was pressed or not, so I cannot tell if the button was pressed to access the next page.  Also, the posted value contains all sorts of useless information regarding font size, type, etc. - I only want the value="..." text.
 
Any help would be appreciated.  I would prefer a plain HTML solution if possible, but failing that, a Javascript solution would do.
 
TIA,
Alan
 
PS. I have used square brackets only for display purposes so that the text in-between is not interpreted as HTML!