madHatter
07-22-2002, 10:57 PM
Hello
I have a simple form and will, decidedly, not be using the old boring grey Submit/Reset buttons!
What I would like to do is draw two small graphics with 'Submit' and 'Reset' written on them.
However, I don't want to draw them in a graphics editor and paste them into the code as .gif or .jpg files in place of the old grey buttons.
If possible, I want to use CSS to actually draw two small rectangles for me (along the lines of the <input name="text" class="searchbox"> property), and then I wish to be able to insert the words 'Submit' and 'Reset' into them.
This would be far better than using a graphic - better because it looks neater - but I wonder if it can be done?
Many thanks for any assistance!
madHatter
I have a simple form and will, decidedly, not be using the old boring grey Submit/Reset buttons!
What I would like to do is draw two small graphics with 'Submit' and 'Reset' written on them.
However, I don't want to draw them in a graphics editor and paste them into the code as .gif or .jpg files in place of the old grey buttons.
If possible, I want to use CSS to actually draw two small rectangles for me (along the lines of the <input name="text" class="searchbox"> property), and then I wish to be able to insert the words 'Submit' and 'Reset' into them.
This would be far better than using a graphic - better because it looks neater - but I wonder if it can be done?
Many thanks for any assistance!
madHatter