> >Let's say you have N-number of paragraphs in an article, and you want the last >paragraph to have some different attributes as the other <p>, such as a greater >margin-bottom. > >Is there a way to describe that in css? > >Thank you! > >John
You mean like this: p:last-child { background:#ff0000; } ______________________________________________________________________ css-discuss [css-d@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/