CSS::-moz-last-node
From MDC
« CSS « CSS Reference « CSS Reference:Mozilla Extensions
[edit] Summary
The :-moz-last-node pseudo-class matches an element that is the last child node of some other element. It differs from :last-child because it does not match a last child element with (non-whitespace) text after it.
[edit] Syntax
span:-moz-last-node { style properties }
[edit] Examples
span:-moz-last-node
{
background-color: lime;
}
...where...
<div> <span>:-moz-first-node</span> <span>:-moz-last-node</span> </div>
[edit] Notes
Any white space at the end of an element is ignored for the determination of :-moz-last-node.