rereading that it may not be clear, if you want to style the button in the label you could do something like this...


label.submitbuttons input
{
  rule : value;
}

wonder if just

.submitbuttons input

would work?

James Ellis wrote:


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/ *****************************************************
*****************************************************
The discussion list for http://webstandardsgroup.org/
*****************************************************




Reply via email to