On Mon, Aug 30, 2010 at 1:16 PM, Rick Gordon <li...@rickgordon.com> wrote: > Yes, Tim, I understand that, and in fact, I am currently addressing the h2. > > The reason why I was trying to do it the other way is because the context is > for EPUB formatting, and space above the h2 causes it to fall lower on the > page if the h2 is at the top of a page. By addressing the p prior to the h2, > I could adjust the margin-bottom of that, rather than the margin-top of the > h2. > > Rick Gordon
What giving the selector h2:first-of-type a smaller top margin than other h2 elements? Beth ______________________________________________________________________ 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/