Le 21 juin 2013 à 07:57, COM <[email protected]> a écrit :
> 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.
p:last-of-type {}
p:last-child {}
depending on context.
http://www.w3.org/TR/css3-selectors/#structural-pseudos
Philippe
--
Philippe Wittenbergh
http://l-c-n.com
______________________________________________________________________
css-discuss [[email protected]]
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/