@Hamish: Yes, that is what I had in mind, but more like: $(document).css('p','color: red; border: 1px gray inset').css('h1','font-size: 200%; text-align: center; text-transform: small-caps');
On Jun 16, 4:41 pm, Hamish Campbell <[EMAIL PROTECTED]> wrote: > As an example do you mean: > > $(document).css('p', 'color: red').css('h1', 'font-size: 200%'); > > On Jun 14, 6:13 am, "Brian J. Fink" <[EMAIL PROTECTED]> wrote: > > > I was tinkering with jQuery when I got an idea: why not have a way to > > do something like: > > > $(document).css(selector,rule); > > > Then it could be chained for as many rules as you would wish: > > > $ > > (document).css(selector1,rule1).css(selector2,rule2)...css(selectorN,ruleN); > > > If this is already part of the jQuery functionality, tell me the > > syntax to use. Otherwise, consider this a submission of a new idea.