Re: [WSG] form input [Virus checkedAU]

2003-12-09 Thread James Ellis
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 th

Re: [WSG] form input [Virus checkedAU]

2003-12-09 Thread James Ellis
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. .submitbuttons { background-color : red; } .resetbuttons { background-color : blue; } Cheers James

RE: [WSG] form input [Virus checkedAU]

2003-12-09 Thread Stephen Dixon
Taco, There's more than one way to reference a cat. I think what Mark means is that if there was a around the submit button you could use that as a more specific selector. IMHO, probably just easier to use a class (as previously mentioned...) Steve Dixon. ***

RE: [WSG] form input [Virus checkedAU]

2003-12-09 Thread Taco Fleur
0 December 2003 10:51 AM To: '[EMAIL PROTECTED]' Subject: RE: [WSG] form input [Virus checkedAU] Taco, There's more than one way to reference a cat. I think what Mark means is that if there was a around the submit button you could use that as a more specific selector. IMHO, prob

RE: [WSG] form input [Virus checkedAU]

2003-12-09 Thread Taco Fleur
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;-)) -Original Message- From: James Ellis [mailto:[EMAIL PROTECTED] Sent: Wednesday, 10 December 2003 10:36 AM To: [EMAIL PROTECTED] Subject: Re: [WSG]

Re: [WSG] form input [Virus checkedAU]

2003-12-09 Thread James Ellis
..using a descendant selector... #mydiv input { blah : blah; } #anotherdiv input { blah : blah; } That said, I've had some issues with getting markup to validate with divs in forms. Cheers James * The discussion list for http://webstandards

RE: [WSG] form input [Virus checkedAU]

2003-12-09 Thread Taco Fleur
Hi Mark, The answer as ever is yes and no. Yes in mozilla et al and no in IE. As always ofcourse. The only way to do it reliable is the way you are proposing - unless you can refer to it another way - i.e. does it sit

RE: [WSG] form input [Virus checkedAU]

2003-12-09 Thread Mark Stanton
Or apply a class to it. Cheers Mark -- Mark Stanton Technical Director Gruden Pty Ltd Tel: 9956 6388 Mob: 0410 458 201 Fax: 9956 8433 http://www.gruden.com * The discussion list for http://webstandardsgroup.org/

Re: [WSG] form input [Virus checkedAU]

2003-12-09 Thread Mark . Lynch
This email is to be read subject to the disclaimer below. Hi Taco, The answer as ever is yes and no. Yes in mozilla et al and no in IE. The "attribute" selector is used as follows: input[type="submit"]{ your css attributes here} The only way to do it reliable is the way you are prop