Hi Matt: Poyner, Matt wrote: > So, is there a way through CSS to declare that margins should return to 0 for > H2 in the following case: > > <H1>This is Matt's Page</H1> > > <H2>Introduction</H2> > > Or, do I need to create a class for these special occasions? > > I could be wrong, but I think that this is the way to do it:
h1 + h2 { margin: 0;} Btw, a useful "cheat sheet" can be found here [1]. It's where I got that tip re: selectors off. > Thanks, > > Matt Regards, Rahul. [1] http://www.ilovejackdaniels.com/css/css-cheat-sheet/ -- . . . . . . . . . . . . . . . . . . . . . . . . Rahul Gonsalves Make PNG, not War. . . . . . . . . . . . . . . . . . . . . . . . . ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/