Thanks all - for the food for thought as regards this issue. Philippe - I deleted the classes since they broke the layout. The specificity issue seems like a good thing for me to look into relating to this and to understand more about generally, and thanks to the comments I've received I have guidelines to inform my research.
Cheers,
Kimi

At 5:31 PM +0900 9/3/10, Philippe Wittenbergh wrote:
On Sep 3, 2010, at 9:23 AM, Kim Brooks Wei wrote:

I have nth child even-odd styling on this page set up as an ID. When I changed this to class so I could set up a second styled section farther down the page the styling broke. Any ideas as to why?
 http://bit.ly/ad7AEl

I don't see any classes that are related in your page / stylesheet.

In principle, it should work, independently of classes vs id. The thing that might be tripping you, as Alan alludes, is specificity. You make your selectors very specific already. [1]

--

[ Kimi Wei
thewei.com
@kimiwei
(t) 862.203.8814
p o box 626
fair lawn, nj 07410 ]
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to