Andrew Poulos <
ap_...@hotmail.com> wrote on 15 Dec 2020 in
comp.infosystems.www.authoring.stylesheets:
>
> On 16/12/2020 3:17 am, Evertjan. wrote:
>> Andrew Poulos <
ap_...@hotmail.com> wrote on 15 Dec 2020 in
>> comp.infosystems.www.authoring.stylesheets:
>>
>>> How do I select all inputs in a form but not of type button, unless the
>>> button has the class called, say, 'preview'?
>>>
>>> I started writing
>>> input:not([type="button"]), input.preview
>>> and then wondered if it was appropriate. The first part of the selector
>>> selects all non-button inputs while the second part should select
>>> buttons with a 'preview' class. Will the first part discount the second?
>>
>> What do you mean by "appropriate", if your mother-in-law will concur?
>> Discounts only in your mother-in-law's delicatessen!
>
> By "appropriate" I meant that it does what I am expecting/hoping it will
> and have behave counter intuitively (have the expected action discounted).