Display:none of which has no more than one classes
<p>I have this HTML piece of code and I want to <strong>display:none</strong> on the class <strong>ss_label</strong> of which it has value <em>From:</em>, <em>To:</em>, <em>Departing:</em> and <em>Returning:</em>. The last 3 that has an extra class of ss_label_adult, ss_label_child and ss_label_inf, I want them to be displayed correctly.</p>

<p>The HTML is retrieved from an API so I can't change the way it is.</p>

<pre><code>&lt;table cellspacing='0' class='ss_sp_as'&gt;
&lt;tbody&gt;
&lt;tr class='ss_sp_sc_from'&gt;
    &lt;td class='ss_label'&gt;
        From:
    &lt;/td&gt;
    &lt;tr class='ss_sp_sc_to'&gt;
        &lt;td class='ss_label'&gt;
            To:
        &lt;/td&gt;
        &lt;/table&gt;
        &lt;table cellspacing='0' class='ss_sp_dates'&gt;
        &lt;tbody&gt;
        &lt;tr class='ss_sp_sc_to'&gt;
            &lt;td class='ss_label'&gt;
                Departing:&amp;nbsp;
            &lt;/td&gt;
            &lt;tr class='ss_sp_sc_to'&gt;
                &lt;td class='ss_label'&gt;
                    Returning:&amp;nbsp;
                &lt;/td&gt;
                &lt;/table&gt;
                &lt;table cellspacing='0' class='ss_sp_pass'&gt;
                &lt;tbody&gt;
                &lt;tr class='ss_sp_sc_to'&gt;
                    &lt;td class="ss_label ss_label_adult"&gt;
                        &amp;nbsp;
                    &lt;/td&gt;
                    &lt;td class="ss_label ss_label_child"&gt;
                        &amp;nbsp;
                    &lt;/td&gt;
                    &lt;td class="ss_label ss_label_inf"&gt;
                        &amp;nbsp;
                    &lt;/td&gt;
                    &lt;/table&gt;
</code></pre>

<p>The only way I could think of doing this, is by display:none dynamically to the ones that haven't got more classes? Does that makes sense?</p>

<p>Thanks alot</p>
