> What I'm going for is to take the bottom margin off of a paragraph > preceding a list. I don't need the list to be styled any > differently, so there's no reason to target it at all. > > Here's a list: > * Something > * Something else > > Instead of: > > Here's a list: > > *something > *something else > > So targeting the ul doesn't make much sense. What I've got now is a > "list_header" class that goes on all the p elements that are really > list headers. But I thought it would be cool if I didn't need the > class, and could just say "any paragraph before a list is a list > header" instead.
Wouldn't it be easier to either: - default to have paragraph spacing apply above, not below (padding- top vs padding-bottom) with no top padding on a ul - or if the ul follows a p, give it a negative margin-top +++++++ colleen sullivan leh ______________________________________________________________________ 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/