Rob Emenecker wrote: > Hi all, > > I am trying to use the first-child pseudo-class to set a zero top margin in > several content divs on a page. > div#sidebar:first-child > * > {margin-top: 0;} > > > http://new.pasadenabusinessassociation.com > > Any suggestions? > /*div#content:first-child > * { margin-top: 0; } delete ruleset*/ /*div#sidebar:first-child > * { margin-top: 0; }delete ruleset*/ p {border: 1px solid red;margin: 0 0 15px 0;}/*add ruleset*/ > > Rob > >
~d ______________________________________________________________________ css-discuss [cs...@lists.css-discuss.org] 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/