Christoph Mertens
|
Posted: 10/19/2003, 5:35 AM |
|
Hi all,
I want to display images instead of buttons for the actions 'cancel',
'delete', 'save' and 'insert'. The problem is, by making
<input type="image"......>
the image-button displays, but it is only working as 'save'.
Anyone an idea, maybe with JavaScript ?
Thanx for helping me...
|
|
|
Walter Kempees
|
Posted: 10/19/2003, 5:53 PM |
|
use class=<buttonname>
in the style sheet define each different class with it's appropriate img=.
That way in the source everything stays the same and simple, style sheet
(.css) gives you the opportunity to do different images for the different
styles.
Walt.
"Christoph Mertens" <info@mertens.it> schreef in bericht
news:bmu0do$uhg$1@news.codecharge.com...
> Hi all,
>
> I want to display images instead of buttons for the actions 'cancel',
> 'delete', 'save' and 'insert'. The problem is, by making
> <input type="image"......>
> the image-button displays, but it is only working as 'save'.
> Anyone an idea, maybe with JavaScript ?
>
> Thanx for helping me...
>
>
|
|
|
|