.storeTitle .foo (or simply .foo if you want) { font-size: 18px; color: #0B94C8; }
You can't style "span" as is.
birdbrain
3:25 pm on Oct 28, 2010 (gmt 0)
Hi there andrewsmd,
Your code worked OK, for me, in both IE6 and IE8. ;)
birdbrain
CSS_Kidd
3:48 pm on Oct 28, 2010 (gmt 0)
Well maybe I shouldn't say "You can't"...
I will say, You shouldn't. :)
rocknbil
4:26 pm on Oct 28, 2010 (gmt 0)
While it's n0ot efficient to do .classname span, it's perfectly legitimate. It also leaves you open to specificity problems. Given birdbrain's test, the best bet is you have some other css on span that's overriding it. Check it out with Firebug.