Not really, there is no class on the submit, it's a class on the surrounding block.. a label in this example. Better to use a class as their may be more than one submit/reset on the page.


<label class="submitbuttons" for="..." ...><input type="submit"... /></label>

.submitbuttons
{
 background-color : red;
}

<label class="resetbuttons for="..." ...><input type="reset"... /></label>

.resetbuttons
{
    background-color : blue;
}

Cheers
James

Taco Fleur wrote:

Yes, but that would the same as assigning a class to the submit button.

Anyway, thanks for the input - answer: it can't be done yet;-))
*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************




Reply via email to