On 10/22/06, Olaf Bosch <[EMAIL PROTECTED]> wrote:
> Thank you for share this.
> Can you write a simple Demo what i must do to write
> body{
> background:black;
> }
>
> Ad sis ever at last Style (rel) in head? I will use this to overwrite
> existing Style.


Yeah just call it like this:

$.style('body', 'background-color: #000;');

And if you want to overwrite that rule:

$.style('body', 'background-color: #fff;');

The last rule added with overwrite the previous, including any
existing style sheets.

Hope that helps...

--
Brandon Aaron

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to