I tried it again and it worked.  I can't imagine what change mattered
since then on the page, but it's happened on more than 1 occasion.
Sorry.  I will investigate fully if it happens again.

Thanks,

Alec

-----Original Message-----
From: Adam Kuehn [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 05, 2005 10:25 AM
To: Alec A. Lazarescu; [email protected]
Subject: Re: [css-d] TD not taking solitary class selector

Alec A. Lazarescu wrote:

>If I have just .databox and I try <td class="databox">, the class isn't
>applied.  I specifically need to make a TD.databox.  How come sometimes
>I can't use the solitary class selector and I have to make a specific
>one?

You should be able to use a solo class selector just fine, unless 
there is an over-riding selector somewhere or unless you've made a 
typo or something.  Can you show us the actual page, or post a test 
case somewhere?  There maybe something elsewhere on your page that is 
getting in the way.  I do this kind of thing all the time.

As an aside, watch your case.  It doesn't matter in HTML, but it does 
in some other languages (most notably XHTML).  It's good to get in 
the habit of always matching the case of selectors to their targets.

-- 

-Adam Kuehn
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to