By cocoliso
via cocoliso.us
Published: Apr 18 2007 / 08:06
Wondering why your shiny, new css class is not working. You have to be careful when mixing classes with ids. Here's a landmine you'll want to avoid.
Comments
Rob Lang replied ago:
A good tip-ette although it would be cool if cocoliso could expand it a little bit showing other css gotchas and how nesting tags can really make life tricky!
MultiMike replied ago:
Hhhmm... I can't reproduce his problem with Firefox 2.0. His sample code works fine for me.
thepope replied ago:
There's probably another error with his code where a selector of "#content p" is set, which has a higher precedence over "p.bad_idea".
manicleek replied ago:
Be wary of taking CSS tips from sites that don't work properly in certain browsers
Voters For This Link (12)
Voters Against This Link (4)