Philippe Wittenbergh wrote: > > On May 18, 2009, at 3:26 PM, Alan Gresley wrote: > >> Interesting. The hack you have is. >> >> @-moz-document url-prefix() { >> :root>body #login_form label input {margin-top: -1.3em;} >> :root>body:not(:nth-child(0)):only-of-type>*|*:not(|*) >> #login_form label input { margin-top: 0;} >> } > > As I posted in the same thread, that second selector is overly complicated. > <http://css-discuss.markmail.org/search/?q=css%20or%20javascript%20hacks%20for%20firefox#query:css%20or%20javascript%20hacks%20for%20firefox+page:1+mid:fk3ne66qqej6n2wc+state:results> >
Aha, thank you Philippe. Firefox 3.5b4 supports only-of-type. -- Alan http://css-class.com/ Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo ______________________________________________________________________ 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/