I didn't mean $(element).css(object), I meant $ (document).css(selector,rule). The difference is this: css() as it stands makes a one-time change to the members of the jQuery object by adjusting the style attribute of each. When a new element matching the query string is created, it does not have the desired css values. Trust me: I've already tested it.
What I'm talking about is a way to directly manipulate the document's style sheets using jQuery. On Jun 16, 4:32 am, Olaf Bosch <[EMAIL PROTECTED]> wrote: > Brian J. Fink schrieb: > > > $(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. > > Yes, it's ON: > > $("p").css({ color: "red", background: "blue" }); > > -- > Viele Grüße, Olaf > > ----------------------------------- > [EMAIL PROTECTED]://olaf-bosch.de/http://ohorn.info/http://www.akitafreund.de/ > -----------------------------------